Системы управления версиями (VCS). Знакомство с Git.

download Системы управления версиями (VCS). Знакомство с Git.

If you can't read please download the document

description

Данный доклад познакомит Вас с системой управления версиями файлов Git, которой пользуется Drupal-сообщество. Эта система может значительно упростить жизнь команды разработчиков, а также обезопасить Вас от потери файлов. В доклад также входит описание систем управления версиями в целом.Видео доклада:http://www.youtube.com/watch?v=3urk3xf79SM

Transcript of Системы управления версиями (VCS). Знакомство с Git.

2. VCS - ? 3. VCS. 4. PerforceUbisoft, Google, NVIDIA,NikonCVSSVNApache, Python, PHP,Ruby, Mono, FreeBSD,Haiku, MediaWiki 5. MercurialOpenOffice, Mozilla,NetBeans, OpenSolarisGitLinux, Android, Wine, Debian,Drupal, jQuery, ChromiumBazaarMySQL, GNOME for Java,Emacs 6. Git. Git 7. Git. (SHA-1 ) 8. Git., (merge) 9. Git. .git initgit clonegit add (add file to index, staging area)dmitry@dmitry-laptop:~/gitpresentation/repo1$ git status# On branch master# Changed but not updated:# (use "git add ..." to update what will be committed)# (use "git checkout -- ..." to discard changes in working directory)## modified: test.txt## Untracked files:# (use "git add ..." to include in what will be committed)## READMEno changes added to commit (use "git add" and/or "git commit -a") 10. git commit (git commit -a -m)git reset HEAD unstage filegit checkout -- unmodify file 11. git diff (--cached, --no-prefix)git rmgit log 12. git branch (-a)git checkout git checkout -b git merge git branch -d 13. Git bisect 14. git bisect startgit bisect badgit bisect good [commit] $ git bisect start $ git bisect bad $ git bisect good v1.0 Bisecting: 6 revisions left to test after this [ecb6e1bc347ccecc5f9350d878ce677feb13d3b2] error handling on repo 15. Git flow 16. gitk 17. gitg 18. git stash (git stash apply)$ git stash liststash@{0}: WIP on master: 049d078 added the index filestash@{1}: WIP on master: c264051... Revert "added file_size"stash@{2}: WIP on master: 21d80a5... added number to log 19. Merge conflict 20. mergetool 21. git-svn. hg-git 22. . Git GoogleTalks: http://www.youtube.com/watch?v=4XpnKHJAok8http://proft.me/2010/10/17/spravochnik-po-git-i-mercurial/http://drupal.org/node/783086http://githowto.com/http://progit.org/book/ru/ 23. (VCS). Git. [email protected]