mirror of
https://github.com/theniceboy/.config.git
synced 2026-05-11 17:36:05 +08:00
new scripts
This commit is contained in:
parent
e16cede414
commit
34e9a1427e
3 changed files with 227 additions and 0 deletions
3
bin/git-pull-all
Executable file
3
bin/git-pull-all
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
remote=origin ; for brname in `git branch -r | grep $remote | grep -v master | grep -v HEAD | awk '{gsub(/^[^\/]+\//,"",$1); print $1}'`; do git branch --track $brname $remote/$brname || true; done 2>/dev/null
|
||||
Loading…
Add table
Add a link
Reference in a new issue