Changes between Version 4 and Version 5 of GitCookbook
- Timestamp:
- 09/09/09 00:27:18 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCookbook
v4 v5 3 3 To check out a repo: 4 4 5 {{{ git c heckoutgit://github.com/leto/parrot.git }}}5 {{{ git clone git://github.com/leto/parrot.git }}} 6 6 7 7 There should now be a directory called "parrot" in your current directory. … … 58 58 {{{ git branch -a }}} 59 59 60 = create a branch = 61 62 Suppose you want to create a local branch to work on your latest and greatest new feature. To create a new branch and check it out all in one automagical command: 63 64 {{{ git checkout -b new_branch }}} 65 66 If you want to create the branch and check it out seperately (maybe because you want to do something else in between or batch the creation of many branches/etc..) 67 68 60 69 = merge = 61 70