Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions subtree-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ if [ "$(git rev-parse --show-prefix)" != "" ]; then
exit 1
fi

if [ "$(git rev-parse HEAD)" != "$(git rev-parse origin/master)" ]; then
echo "$(pwd) is not at origin/master" >&2
if [ "$(git rev-parse HEAD)" != "$(git rev-parse origin/main)" ]; then
echo "$(pwd) is not at origin/main" >&2
exit 1
fi

Expand Down
Loading