added some scripts to bin

This commit is contained in:
Johannes Findeisen 2019-01-17 23:54:30 +01:00
commit 0394baee6c
4 changed files with 65 additions and 0 deletions

17
bin/forksync.sh Executable file
View 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