Professional Documents
Culture Documents
2
Distributed version control overview
Local
Local
Developer repository repository Developer
Remote
repository
Web Local
Developer interface repository Developer
3
Share changes: commit
I want to store
file1 and file2
Developer in the repository
commit
4
Share changes: stage + commit
Select the changed Commit the selected
files you want to changes to the local
commit repository
add commit
5
Share changes: stage + commit + push
Push changes to a
remote repository
(promotion)
6
Overview of git commands
• git add: add changes to the staging area
7
Best practices
• Commit related changes
• Commit and push often, at least daily, but do not commit half done work
9
Best practices
• Commit related changes
• Commit and push often, at least daily, but do not commit half done work
10