12. Basic Commands
Add a file
● git add path/to/file
Commit a file
● git commit
or
● git commit -m "commit message"
13. Difference between Svn commit and
git commit
● Git commits are locals!
● Local repositories are git repositories.
● No Internet needed!
● You don't need public access to the
repository!
● So, to a better version control...
18. Git branching
Every local repository is a branch.
but branching is a good practice.
● git branch branch_name
● git checkout branch_name
● git branch -D branch_name