Git
- 2. Git ...
• VCS SCM
• VCS -- DVCS
•
•
• linux
- 18. • git add main.java
• git add .
• git add *.js
- 20. • git commit main.java
• git commit -a
• git commit *.js
- 21. • .gitignore
• .DS_Store
• *.class
• *.jar
• build
• dist
- 23. • git clone git@host:repot.git
• git remote add origin git@host:repot.git
• origin --
• git@..... --
- 24. • git pull origin master
• origin --
• master --
- 25. • git push origin master
• origin --
• master --
- 29. develop
• develop:
•
• develop:
• daily build
• master
- 31. •
•
•
• git commit -a
• --
• / /
- 33. git-flow
•
• git flow feature start login
• N
• N
• git flow feature finish login
- 34. git-flow
•
• git flow release start v1.0
• commit N
• N Bug
• git flow release finish v1.0
- 35. • http://git-scm.com/
• http://code.google.com/p/msysgit/
• http://progit.org/book/zh/
• https://github.com/nvie/gitflow/
• http://www.gitboxapp.com/
• http://gitx.frim.nl
• http://www.jeffkit.info/2010/12/860/
• http://www.juvenxu.com/2010/11/28/a-successful-git-branching-model/