1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-16 15:30:30 +01:00
server-nalc/other_things/scripts/rebase_active_branches.sh
LeMagnesium bd86d9d8f4 Added all hudbars by @Wuzzy2
- Removed hud (incompatible)
 - Copied all hunger.lua's values in new hunger.lua (hbhunger)
 - Added hbhunger, hbarmor
 - Updated sprint mod
2015-06-16 19:22:40 +02:00

22 lines
391 B
Bash
Executable File

# Rebase actives branches
# Script by LeMagnesium (20/12/15)
# @param : Branches to rebase from master
# Must be ran from the root of the repo or a subdirectory
for branch in $( git branch ); do
if [ branch != "master" ];
then
git checkout $branch
git pull origin $branch
git rebase master
git push -f origin $branch
fi
done
git checkout master
echo "Branches rebased."
#EOF