Skip to content

Commit

Permalink
git: adds su alias, and switches to main for everything.
Browse files Browse the repository at this point in the history
  • Loading branch information
damncabbage committed Aug 29, 2023
1 parent 2f2fdce commit db1b902
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,16 @@
if [ -f \"$trunk\" ]; then \
cat \"$trunk\"; \
else \
echo 'master'; \
echo 'main'; \
fi; \
}; f"

git = "!git" # Allows 'git git diff' et al to work, when Rob is being scatter-brained and types+pastes git.
su = "submodule update --init --recursive"

git = "!git" # Allows 'git git diff' et al to work, when Robin is being scatter-brained and types+pastes git.

[init]
defaultBranch = main

[include]
path = "~/.gitrc.d/local"

0 comments on commit db1b902

Please sign in to comment.