You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alias gll='git log --graph --pretty=oneline --abbrev-commit'
80
81
alias gnew='git log HEAD@{1}..HEAD@{0}'# Show commits since last pull, see http://blogs.atlassian.com/2014/10/advanced-git-aliases/
81
82
alias gwc='git whatchanged'
83
+
alias ghist='git log --pretty=format:'\''%h %ad | %s%d [%an]'\'' --graph --date=short'# Use it to be fast and without color.
84
+
alias gprogress='git log --pretty=format:'\''%C(yellow)%h %Cblue%ad %Creset%s%Cgreen [%cn] %Cred%d'\'' --decorate --date=short'#Usually use "git progress" in the file .gitconfig. The new alias from Git friends will be truly welcome.
82
85
83
86
# ls-files
84
87
alias gu='git ls-files . --exclude-standard --others'# Show untracked files
@@ -133,6 +136,7 @@ alias grv='git remote -v'
133
136
134
137
# rm
135
138
alias grm='git rm'
139
+
alias grmc='git rm --cached'# Removes the file only from the Git repository, but not from the filesystem. This is useful to undo some of the changes you made to a file before you commit it.
0 commit comments