Skip to content

Commit 7848734

Browse files
committed
Warning in rebase
1 parent 793d34b commit 7848734

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

EasyKey.git/ezk-git-functions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ ammendCommit() {
389389
echo "Your branch is behind remote branch! Update first using git pull."
390390
return
391391
fi
392-
echo -n "Change some commit messages(y/n)?" && wait_for_keypress && echo
392+
coloredLog " DO NOT DO THIS IN SHARED BRANCHES ! " "$clrPurple" "$clrWhite" && printf "\n\r"
393+
echo -n "Change some commit messages (y/n)?" && wait_for_keypress && echo
393394
[ "${REPLY}" != "y" ] && waitonexit && return
394395
git rebase -i HEAD~10
395396
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)