refactor: combine bin directories
This commit is contained in:
parent
f3f1051f1f
commit
459428a979
16 changed files with 0 additions and 38 deletions
10
bin/main-or-master-branch
Executable file
10
bin/main-or-master-branch
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/zsh
|
||||
|
||||
# Check if we should use the `main` or `master` branch for this repo.
|
||||
# Prefer `main` to `master`.
|
||||
|
||||
if git show-ref --quiet origin/main || git rev-parse main &>/dev/null; then
|
||||
echo main
|
||||
else
|
||||
echo master
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue