mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-09 19:11:15 +02:00
changing suckless merge utils for having a base branch to ensure the master can be pushed with all features to ensure buildability without this utils
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/bin/zsh
|
||||
suckdiff &&
|
||||
git reset --hard origin/master &&
|
||||
git reset --hard origin/base &&
|
||||
for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | cut -d'/' -f3); do
|
||||
if [ "$branch" != "master" ];then
|
||||
if [[ ("$branch" != "master") && ("$branch" != "base") ]];then
|
||||
echo $branch
|
||||
git merge $branch -m $branch
|
||||
fi
|
||||
|
Reference in New Issue
Block a user