Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.38 KB

task2.md

File metadata and controls

53 lines (33 loc) · 1.38 KB

Task 2 - Getting your code to Git

Go to course navigation

Once you have added something like I want to learn how to be more like [insert name] awesome developer that I know to your readme and saved it then running

$ git status

should show you that there are changes to your README.md file. Add this

$ git add README.md

and then commit it.

$ git commit -m "Updated the readme with my motivation to learn"

then push

$ git push -u origin master

by following these steps your code should now be up on Github.

🔀 You should now switch over and on the new driver's laptop pull down the changes by running:

$ git pull origin master

Double check: if you open README.md do you see the changes that are held on github?

Congratulations you now have all the basics of version control.

Good job

Switching

For the rest of this course whenever you see the 🔀 you should add, commit and push your code so that your pair partner can pull down your changes and work away on their own laptop.

📘 Consider bookmarking this page for quick reference.

Otherwise if everything is good lets get building!

Return to previous section | Continue to Section 7