Skip to content

Commit 5549222

Browse files
authored
Create git-mirror-clone
1 parent c6e1631 commit 5549222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sh_scripts/git-mirror-clone

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git branch -a | grep -v HEAD | perl -ne 'chomp($_); s|^\*?\s*||; if (m|(.+)/(.+)| && not $d{$2}) {print qq(git branch --track $2 $1/$2\n)} else {$d{$_}=1}' | csh -xfs

0 commit comments

Comments
 (0)