Add more git aliases, default branch main

This commit is contained in:
Sam W 2022-02-28 23:44:43 +00:00
parent ca45cf76ca
commit e20323fef8
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,8 @@
dc = "diff --cached";
l = "log";
lp = "log --patch";
p = "push";
pf = "push --force-with-lease";
r = "rebase";
rc = "rebase --continue";
ra = "rebase --autostash";
@ -34,6 +36,7 @@
branch.sort = "-committerdate";
log.showSignature = true;
push.default = "current";
init.defaultBranch = "main";
};
includes = [
{ path = "~/.gitconfig.local"; }