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";
|
dc = "diff --cached";
|
||||||
l = "log";
|
l = "log";
|
||||||
lp = "log --patch";
|
lp = "log --patch";
|
||||||
|
p = "push";
|
||||||
|
pf = "push --force-with-lease";
|
||||||
r = "rebase";
|
r = "rebase";
|
||||||
rc = "rebase --continue";
|
rc = "rebase --continue";
|
||||||
ra = "rebase --autostash";
|
ra = "rebase --autostash";
|
||||||
|
@ -34,6 +36,7 @@
|
||||||
branch.sort = "-committerdate";
|
branch.sort = "-committerdate";
|
||||||
log.showSignature = true;
|
log.showSignature = true;
|
||||||
push.default = "current";
|
push.default = "current";
|
||||||
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
includes = [
|
includes = [
|
||||||
{ path = "~/.gitconfig.local"; }
|
{ path = "~/.gitconfig.local"; }
|
||||||
|
|
Loading…
Reference in New Issue