git: add clean-deleted-remotes command
This commit is contained in:
		
							parent
							
								
									fbc3d6b96a
								
							
						
					
					
						commit
						3eb36a334d
					
				
					 3 changed files with 17 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -36,8 +36,13 @@ in
 | 
			
		|||
        alias = {
 | 
			
		||||
          graph = "log --graph --oneline --branches";
 | 
			
		||||
          root = "rev-parse --show-toplevel";
 | 
			
		||||
          clean-deleted-remotes = "!" + (lib.getExe pkgs.git_clean_remote_deleted);
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    home.packages = with pkgs; [
 | 
			
		||||
      git_clean_remote_deleted
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue