edit-article
Home
Up
Delete
Article Name:
Article Description:
] gits basic commands to upload your local repo to a remote repo OR to download a remote repo into your local machine
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">git push and git pull</h1> <h2>[WHAT]</h2> <ol> <li>] by Don Sagrott, founder @sospep.com - the very basic operations at the heart of git, once you have completed adding any new files or making any changes to the source code on your local machine, you will need to use git push and git pull to send those changes to your remote repository</li> </ol> <h2>[WHY]</h2> <ol> <li>] git push - with git push you will be sending any of your source code changes(edits, new) from your local repo to a remote repo. </li> <li>] git pull - with git pull, you will be getting files from a remote git repo to the local repo on your local machine</li> </ol> <h2>[WHERE]</h2> <ol> <li><strong>] READ THE FULL ARTICLE</strong></li> <ol> <li>] </li> </ol></ol> <h2>[WHEN]</h2> <ol> <li>] 2017-05-01</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li><strong>] git push</strong></li> <ol> <li>] send local file(s) to your remote git repo - </li> </ol> <li><strong>] git pull</strong></li> <ol> <li>] bring 'files' from a remote repository to your local machine, </li> </ol></ol> <h2>[HOW-TO]</h2> <ol> <li><strong>[00:00] NEW task </strong></li> <ol> <li>] # # </li> </ol> <li>] </li> </ol> <h2>[REFERENCE]</h2> <ol> <li>x] # 7284 - <a href="/view/task?id=7284" target="_blank">CREATE-article# 5731</a> - </li> <li>] http://stackoverflow.com/questions/1402390/git-push-clone-to-new-server?noredirect=1&lq=1</li> <li>] http://stackoverflow.com/questions/18200248/cloning-a-repo-from-someone-elses-github-and-pushing-it-to-a-repo-on-my-github</li> </ol> <h2>[RELATED]</h2> <div><ol> <li>] BOOK <a href="/view/chapters?id=263" target="_blank">git-started</a> - <a href="/view/article?id=2459" target="_blank">contents</a> </li> </ol></div> <h1 style="text-align: center;"> </h1>