Git: Difference between revisions
imported from old wiki |
m Rewrite sample config with nonexistent options |
||
Line 32: | Line 32: | ||
programs.git = { | programs.git = { | ||
enable = true; | enable = true; | ||
config.alias = { | |||
ci = "commit"; | ci = "commit"; | ||
co = "checkout"; | co = "checkout"; | ||
Line 56: | Line 56: | ||
programs.git = { | programs.git = { | ||
enable = true; | enable = true; | ||
config = { | |||
credential.helper = "${ | credential.helper = "${ | ||
pkgs.git.override { withLibsecret = true; } | pkgs.git.override { withLibsecret = true; } | ||
Line 80: | Line 80: | ||
programs.git = { | programs.git = { | ||
enable = true; | enable = true; | ||
config = { | |||
push = { autoSetupRemote = true; }; | push = { autoSetupRemote = true; }; | ||
}; | }; |