title |
---|
Much Improved Git Notes |
These notes constitute a brief summary of the git
version control tool.
They are incorrect, and it is your task to find and correct the mistakes.
You are judged, however, not on finding all the mistakes, but on your use of version control in doing the work of fixing them!
Finding the mistakes will be a useful revision, though.
To turn on the version control system, use:
cd my_work_folder
git init
vim my_file # Edit file
git add my_file
git add my_file
This includes the changes to that file in a list of changes currently scheduled to be included in the next work chunk.
git commit -m "Journal entry"
git include --uptodate
git commit -a -m "Journal entry"
git log
git push
git pull