added git alias that only shows branches and tags.
This commit is contained in:
		
							parent
							
								
									cc3d5cadee
								
							
						
					
					
						commit
						e548369cae
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -28,8 +28,10 @@
 | 
			
		|||
    programs.git = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      aliases = {
 | 
			
		||||
        hist = "log --graph --date-order --date=short --pretty=format:'%C(auto)%h%d %C(reset)%s %C(bold blue)%ce %C(reset)%C(green)%cr (%cd)'";
 | 
			
		||||
        graph = "log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
 | 
			
		||||
        tree = "log-long-line --graph --topo-order --all --simplify-by-decoration";
 | 
			
		||||
        hist = "log-long-line --graph --date-order --date=short ";
 | 
			
		||||
        graph = "log-long-line --graph --topo-order --all";
 | 
			
		||||
        log-long-line = "log --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
 | 
			
		||||
        recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'";
 | 
			
		||||
      };
 | 
			
		||||
      delta = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue