Created
January 23, 2018 13:26
-
-
Save ann-mukundi/a44b2f61ea279066e86d8688a55db60e to your computer and use it in GitHub Desktop.
CP-readiness: git branches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a github account here | |
Create a new repository on github with the name cp-readiness | |
Follow the instructions to push an existing repository from the command line | |
In your local machine, create a branch called recipes | |
Switch to the new branch | |
In a folder called recipe, create a file called tea.txt | |
Add the changes to staging | |
Push to the recipes branch |
Thanks for this simple exercise it is so educative
@Slinjez, the "git add . " command is used to stage all files before commit, but in this case, since we are staging one file, "git add" is just fine.
check this out (https://stackoverflow.com/questions/19576116/how-to-add-multiple-files-to-git-at-the-same-time)
Thanks for the test it helps one keep in check
Done @ann-mukundi
Awesome, Thanks for the test.
Done.
Awesome!
so interesting
👍 👍
interesting exercise
Interesting exercise, now I know
done
This is awesome too.. Anne. Thanks
done deal
Done
done
Yep
Done, thank you so much for this task.. helped me avoid a mistake that would really have cost me a great deal.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Done!