Skip to content

Commit

Permalink
Tweak git options
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanshelly committed Feb 10, 2021
1 parent c8e20e8 commit 8828a93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/git.nix
Expand Up @@ -78,6 +78,7 @@
colorMoved = "dimmed-zebra";
colorMovedWS = "allow-indentation-change";
};
fetch.prune = true;
help = {
# automatically correct and execute mistyped commands
# https://git-scm.com/docs/git-config#Documentation/git-config.txt-helpautoCorrect
Expand All @@ -100,7 +101,7 @@
push = {
# `git push` treated as `git push remote <current-checkout-out-branch-name>`
# https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault
default = "current";
default = "upstream";
# push annotated tags missing from remote
# equivalent of typing `git push --follow-tags`
# https://git-scm.com/docs/git-push#Documentation/git-push.txt---follow-tags
Expand Down

0 comments on commit 8828a93

Please sign in to comment.