Github and Website Workshop/git-partner-programming

Welcome to the the seventh step of the Github and Website Workshop - partner up!


Find a partner

It's okay if you don't know them - you're all pretty cool (you're at the workshop, after all).

This partner is going to be looking at your website and helping you work on it.

Clone someone else's code

Earlier, you put your repository from Github into a folder on your computer.

See if you can follow the same steps to put your partner's repository in another folder on your computer.

You do NOT need to fork this repository - start after this step. (Fork creates a completely separate copy, and you want their code and their repository on your computer)

Edit each other's code

Talk with each and talk about things you'd think could be better. Change anything you like!

Work on this for about 15 minutes.

commit and push

Commit your code and push it back to the remote server. Now you can bring the changes to your own website back to your own computer.

pull in changes

When someone else changes files in a repository, you can update the files on your computer using a command that works somewhat opposite to git push

Enter this command: git pull

Make sure your files are updated, and continue to the next lesson.

Feel free to continue to contribute to each other's websites (using push and pull)!