Skip to content

Commit

Permalink
Points git to main instead of master
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Cravey authored and craveytrain committed Jul 6, 2022
1 parent 55599e4 commit a870964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bin/git-scrub
Expand Up @@ -26,7 +26,7 @@ fi
# then delete them. We use the remote master here, just in case our
# local master is out of date.

MERGED_ON_REMOTE=`git branch --color=never --merged origin/master | grep -v "\*"`
MERGED_ON_REMOTE=`git branch --color=never --merged origin/main | grep -v "\*"`

if [ "$MERGED_ON_REMOTE" ]; then
echo "The following remote branches are fully merged and will be removed:"
Expand Down
2 changes: 1 addition & 1 deletion .gitconfig
Expand Up @@ -42,7 +42,7 @@

upgrade-submodules = submodule update --init --remote

ancestor = merge-base HEAD master
ancestor = merge-base HEAD origin/HEAD
[branch]
autosetuprebase = always
[clean]
Expand Down

0 comments on commit a870964

Please sign in to comment.