Update
This commit is contained in:
parent
9068225f34
commit
a98d6264fe
9
post-receive
Executable file
9
post-receive
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Mirror pushes across ALL branches to GitHub
|
||||||
|
|
||||||
|
GITHUB_REMOTE=github
|
||||||
|
BRANCHES=$(git branch -r | grep -v '\->' | sed 's/origin\///')
|
||||||
|
|
||||||
|
for branch in $BRANCHES; do
|
||||||
|
git push $GITHUB_REMOTE $branch
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user