Skip to content

Commit 6155ee1

Browse files
committed
Fix the automatic conflict resolution that resets to master
1 parent 4e04c58 commit 6155ee1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

limbo.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ handleConflicts() {
6565
echo -e "\033[0;31mBEWARE ! No action possible, fix the divergence (possible rebase conflicts).\033[0m"
6666
read -p "Would like to reset your local copy to match the remote one ? (y/N) " reset
6767
if [ "$reset" == "y" ]; then
68-
remoteBranch=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/@@')
6968
git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)
7069
fi
7170
conflictsToSolve=1

0 commit comments

Comments
 (0)