mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat(git): add helpful configs
This commit is contained in:
parent
3ea99dd18a
commit
2eb3764b31
10 changed files with 94 additions and 48 deletions
|
|
@ -1,7 +1,6 @@
|
|||
_: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
difftastic.enable = true;
|
||||
|
||||
ignores = [
|
||||
|
|
@ -20,6 +19,14 @@ _: {
|
|||
gpg.format = "ssh";
|
||||
"gpg \"ssh\"".program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
|
||||
|
||||
log.date = "iso";
|
||||
merge.conflictstyle = "zdiff3";
|
||||
diff.algorithm = "histogram";
|
||||
|
||||
transfer.fsckobjects = true;
|
||||
fetch.fsckobjects = true;
|
||||
receive.fsckObjects = true;
|
||||
|
||||
push.autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue