mirror of
				https://github.com/Mastermindzh/dotfiles.git
				synced 2025-11-04 10:49:00 +01:00 
			
		
		
		
	some more git commands
This commit is contained in:
		@@ -65,6 +65,9 @@ alias sudo='sudo '
 | 
				
			|||||||
# grub
 | 
					# grub
 | 
				
			||||||
alias update-grub='grub-mkconfig -o /boot/grub/grub.cfg'
 | 
					alias update-grub='grub-mkconfig -o /boot/grub/grub.cfg'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# git
 | 
				
			||||||
 | 
					alias gitremovelocalbranches='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Functions
 | 
					## Functions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# function to cd up a couple of times
 | 
					# function to cd up a couple of times
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,3 +7,4 @@
 | 
				
			|||||||
	stats = !git graph --stat
 | 
						stats = !git graph --stat
 | 
				
			||||||
	pushall = !git remote | xargs -L1 git push --all
 | 
						pushall = !git remote | xargs -L1 git push --all
 | 
				
			||||||
	diffname = !git diff --name-only
 | 
						diffname = !git diff --name-only
 | 
				
			||||||
 | 
						undocommit = reset --soft HEAD~1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user