mirror of https://github.com/wlcx/home.git
Add more git aliases, default branch main
This commit is contained in:
parent
ca45cf76ca
commit
e20323fef8
|
@ -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"; }
|
||||
|
|
Loading…
Reference in New Issue