Github and Website Workshop/git-partner-programming: Difference between revisions

no edit summary
imported>Auria
No edit summary
imported>Auria
No edit summary
Line 7:
 
This partner is going to be looking at your website and helping you work on it.
 
==Push your code==
 
Right now you have made some commits - but no one else can see these changes yet. To have them show up on GIthub, you need to "push" your code.
 
First let's discuss a few concepts related to this push command:
 
* You are putting changes from your computer to the ''remote server''. Usually the remote server, the place on Github where your files can be viewed, is called <tt>origin</tt>.
* There is a concept called branching in git which lets you work on multiple changes at the same time. We will not be talking about branches in this workshop, but it helps to know that the ''branch'' you are working on is called <tt>master</tt> - the master branch (ruler of them all)
* To send all your changes to the master branch on the remote server, type <tt>git push origin master</tt>. It's possible that the first time you do this git will ask you for some more information. If this happens please let a mentor know and we'll help you out!
 
Now go to the repository on Github.com and take a look at your changes there!
 
==Clone someone else's code==
Anonymous user