4. What
git-scm.com
• Gitis a free & open source, distributed version control system
designed to handle everything from small to very large
projects with speed and efficiency.
14. HOW /
• git init
• To create a repository from an existing directory of files
• git clone
• If you need to collaborate with someone on a project, or if you
want to get a copy of a project so you can look at or use the code,
you will clone it.
15. HOW /
• git add
• In Git, you have to add file contents to your staging area before you can
commit them.
• git commit
• Just commit to the local repo.
• git log
• show commit history of a branch
16. HOW /
• git pull
• fetch from a remote repo and try to merge into the current branch
• git push
• push your new branches and data to a remote repository
17. HOW /
• git checkout
• switch to a new branch context
• git branch
• list, create and manage working contexts
• git merge
• merge a branch context into your current one
• git tag
• tag a point in history as important