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 = {
 | 
					    programs.git = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      aliases = {
 | 
					      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)'";
 | 
					        tree = "log-long-line --graph --topo-order --all --simplify-by-decoration";
 | 
				
			||||||
        graph = "log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
 | 
					        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)'";
 | 
					        recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      delta = {
 | 
					      delta = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue