Содержание
- 2. SCM/VC/RC/SC A component software configuration management (SCM), version control (VC), also known as revision control (RC)
- 3. Typical tasks for version control systems Tracking changes Making updates Getting updates Resolving Conflicts Diffing (viewing
- 4. Terms Repository Working Copy Merging Version
- 5. Types of Version Control Systems CVS, Perforce, SVN, Team Foundation Server (TFS) git, mercurial
- 6. Git Intro git – is a distributed version control system with an emphasis on speed, data
- 7. Install git Linux OS Debian Family (Debian, Ubuntu, Mint) #apt-get install git Red Hat Family (RHEL,
- 8. Configure before use Git comes with tool called git config Identity $ git config --global user.name
- 9. Basic terms Local repository stored in hidden folder .git Working directory - folder with code Commit
- 10. Create/clone repository git init – create an empty local repo git clone – create local repo
- 11. .gitignore .gitignore - contains list of files and folders that are ignored by git in working
- 12. Basic git data transport commands git add git commit git push git fetch git checkout git
- 13. Additional important commands Get help: git help git --help Show status and log: git status –
- 14. Branches A branch represents an independent line of development. Commands: git branch – list of branches
- 15. Workflow Clone repository git clone git init Create/switch branch git branch git checkout Add files to
- 16. Recommended links 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 -
- 18. Скачать презентацию