git: update config
This commit is contained in:
		
							parent
							
								
									5a5b544caa
								
							
						
					
					
						commit
						36ec5ef63c
					
				
					 1 changed files with 28 additions and 3 deletions
				
			
		
							
								
								
									
										31
									
								
								user/git.nix
									
										
									
									
									
								
							
							
						
						
									
										31
									
								
								user/git.nix
									
										
									
									
									
								
							| 
						 | 
					@ -18,15 +18,40 @@ in
 | 
				
			||||||
          email = mail.personal.user;
 | 
					          email = mail.personal.user;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        init.defaultBranch = "main";
 | 
					        init.defaultBranch = "main";
 | 
				
			||||||
 | 
					        core = {
 | 
				
			||||||
 | 
					          fsmonitor = true;
 | 
				
			||||||
 | 
					          untrackedCache = true;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
        commit.verbose = true;
 | 
					        commit.verbose = true;
 | 
				
			||||||
        push.autoSetupRemote = true;
 | 
					        fetch = {
 | 
				
			||||||
 | 
					          prune = true;
 | 
				
			||||||
 | 
					          pruneTags = true;
 | 
				
			||||||
 | 
					          all = true;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        push = {
 | 
				
			||||||
 | 
					          autoSetupRemote = true;
 | 
				
			||||||
 | 
					          default = "simple";
 | 
				
			||||||
 | 
					          followTags = true;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
        pull.rebase = true;
 | 
					        pull.rebase = true;
 | 
				
			||||||
        merge.conflictStyle = "diff3";
 | 
					        tag.sort = "version:refname";
 | 
				
			||||||
        rerere.enabled = true;
 | 
					        merge.conflictStyle = "zdiff3";
 | 
				
			||||||
 | 
					        rerere = {
 | 
				
			||||||
 | 
					          enabled = true;
 | 
				
			||||||
 | 
					          autoupdate = true;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        branch.sort = "-committerdate";
 | 
				
			||||||
 | 
					        diff = {
 | 
				
			||||||
 | 
					          algorithm = "histogram";
 | 
				
			||||||
 | 
					          colorMoved = "plain";
 | 
				
			||||||
 | 
					          mnemonicPrefix = true;
 | 
				
			||||||
 | 
					          renames = true;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
        rebase = {
 | 
					        rebase = {
 | 
				
			||||||
          abbreviateCommands = true;
 | 
					          abbreviateCommands = true;
 | 
				
			||||||
          autoSquash = true;
 | 
					          autoSquash = true;
 | 
				
			||||||
          autoStash = true;
 | 
					          autoStash = true;
 | 
				
			||||||
 | 
					          updateRefs = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        pager = {
 | 
					        pager = {
 | 
				
			||||||
          log = "${pkgs._diffr}/bin/_diffr | ${pkgs.kak-pager}/bin/kak-pager";
 | 
					          log = "${pkgs._diffr}/bin/_diffr | ${pkgs.kak-pager}/bin/kak-pager";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue