Changes between Version 7 and Version 8 of notes/git


Ignore:
Timestamp:
2018-01-08T12:30:49Z (7 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • notes/git

    v7 v8  
    2929git fetch
    3030}}}
     31
     32== pull all branches to local
     33{{{#!bash
     34git branch -a |
     35 sed -n \"/\\/HEAD /d; /\\/master$/d; /remotes/p;\" |
     36 xargs -L1 git checkout -t"
     37}}}
     38
     39== pull single branch to local
     40`git checkout -t remotes/origin/<branch_name>`