Skip to content

Commit 8f6392d

Browse files
authored
Merge pull request #2249 from alexnavfr/master
2 parents a80d898 + e9facb2 commit 8f6392d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aliases/available/git.aliases.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ about-alias 'common git abbreviations'
33

44
alias g='git'
55
alias get='git'
6+
alias got='git '
67

78
# add
89
alias ga='git add'
@@ -79,6 +80,8 @@ alias ggup='git log --branches --not --remotes --no-walk --decorate --oneline' #
7980
alias gll='git log --graph --pretty=oneline --abbrev-commit'
8081
alias gnew='git log HEAD@{1}..HEAD@{0}' # Show commits since last pull, see http://blogs.atlassian.com/2014/10/advanced-git-aliases/
8182
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.
8285

8386
# ls-files
8487
alias gu='git ls-files . --exclude-standard --others' # Show untracked files
@@ -133,6 +136,7 @@ alias grv='git remote -v'
133136

134137
# rm
135138
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.
136140

137141
# rebase
138142
alias grb='git rebase'

0 commit comments

Comments
 (0)