added some scripts to bin
This commit is contained in:
parent
5d73367d88
commit
0394baee6c
4 changed files with 65 additions and 0 deletions
17
bin/forksync.sh
Executable file
17
bin/forksync.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
#for repo in $(ls /home/hanez/forks | tr '\n' ' '); do
|
||||
for repo in /home/hanez/forks/*; do
|
||||
echo ">>> Updating Fork: $repo"
|
||||
cd $repo
|
||||
|
||||
git fetch upstream
|
||||
|
||||
git checkout master
|
||||
|
||||
git rebase upstream/master
|
||||
#git merge upstream/master
|
||||
|
||||
git push -f origin master
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue