Содержание
- 2. Agenda Source Control Management (SCM) Types of Version Control Systems Git Configuration Basics Work cycle Branches
- 3. SCM Revision control, also known as version control and source control (and an aspect of software
- 4. Fundamental Concepts of SCM Tracking changes Making updates Getting updates Conflicts Diffing (viewing the differences) Branching
- 5. Terms Repository Working Copy Merging Revision
- 6. System version control Centralized: CVS, Perforce, SVN, Team Foundation Server (TFS) Distributed: Git, Mercurial
- 7. GIT Intro Git – is a distributed revision control system with an emphasis on speed, data
- 8. Install git Linux OS Debian Family (Debian, Ubuntu, Mint) #apt-get install git Red Hat Family (RHEL,
- 9. Let’s configure git ☺ Git comes with tool called git config Identity $ git config --global
- 10. Create repository git init – create an empty local repo git clone – create local repo
- 11. Basic terms Local repository stored in hidden folder .git Working directory - folder with code Commit
- 12. .gitignore .gitignore - contains list of files and folders that are ignored by git in working
- 13. Git data transport commands git add git commit git push git fetch git checkout git merge
- 14. Additional important commands Get help: git help git --help Show status and log: git status –
- 15. Additional important commands Shortcuts: git commit -am - combines add and commit git pull - Combines
- 16. Branch A branch represents an independent line of development. Branches serve as an abstraction for the
- 17. Let’s imagine
- 18. Merging
- 19. Rebasing
- 20. stash git stash git stash list git stash apply git stash apply git stash drop git
- 21. Practical tasks Clone repository Add to file «Zapovit.txt» few lines and commit it to local repository.
- 22. References and Sources Simplified views: Everyday commands Visual guide to GIT Easy version control with GIT
- 23. References and Sources https://git-scm.com/book/en/v2 - original documentation from Git team https://www.atlassian.com/git/tutorials - Atlassian git tutorial https://try.github.io
- 25. Скачать презентацию