feat(git): add convenient configs from blog post
see https://betterprogramming.pub/8-advanced-git-commands-university-wont-teach-you-fe63b483d34b
This commit is contained in:
4
home.nix
4
home.nix
@@ -397,6 +397,10 @@ source <(kubectl completion zsh)
|
|||||||
pull.ff = "only";
|
pull.ff = "only";
|
||||||
credential.helper = "store";
|
credential.helper = "store";
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
|
||||||
|
# see https://betterprogramming.pub/8-advanced-git-commands-university-wont-teach-you-fe63b483d34b
|
||||||
|
help.autocorrect = 1;
|
||||||
|
fetch.prune = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user