Public Access
SSL Cert Fixes
This commit is contained in:
@@ -19,6 +19,26 @@ else
|
||||
git remote add origin "$REMOTE"
|
||||
fi
|
||||
|
||||
# An unfinished rebase or merge blocks everything below, and git's own error is
|
||||
# easy to mistake for a push problem.
|
||||
GIT_DIR_PATH=$(git rev-parse --git-dir 2>/dev/null || echo .git)
|
||||
for marker in rebase-merge rebase-apply MERGE_HEAD CHERRY_PICK_HEAD; do
|
||||
if [ -e "$GIT_DIR_PATH/$marker" ]; then
|
||||
cat >&2 <<'MSG'
|
||||
|
||||
There is an unfinished rebase or merge in this folder.
|
||||
Nothing else can happen until it is settled:
|
||||
|
||||
git rebase --abort throw the attempt away, back to how things were
|
||||
git status see which files still need attention
|
||||
git rebase --continue after fixing the files git listed
|
||||
|
||||
If unsure, "git rebase --abort" is the safe one.
|
||||
MSG
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
git add -A
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
read -r -p "Describe this change (enter for a dated default): " MSG
|
||||
|
||||
Reference in New Issue
Block a user