Change some git aliases
This commit is contained in:
parent
14d75a4bcd
commit
55c29f1813
12
aliases
12
aliases
|
@ -257,6 +257,7 @@ alias yt-download-720='dl_youtube_vid "136+140"'
|
|||
alias yt-download-playlist='dl_youtube_playlist ""'
|
||||
alias yt-download-playlist-1080='dl_youtube_playlist "137+140"'
|
||||
alias yt-download-playlist-720='dl_youtube_playlist "136+140"'
|
||||
alias yt-download-playlist-tiny='dl_youtube_playlist "160+140"'
|
||||
alias yt-download-audio='youtube-dl.exe -f "140"'
|
||||
|
||||
# Download Twitch videos
|
||||
|
@ -340,6 +341,7 @@ alias ammend='echo "use am instead"'
|
|||
alias amend='echo "use am instead"'
|
||||
alias g='gitCmdWrapper'
|
||||
alias ga='git add -A'
|
||||
alias gaa='git add -A; gdc'
|
||||
alias gap='git add -Ap'
|
||||
alias gau='git add --update'
|
||||
alias gb='git branch -v'
|
||||
|
@ -349,10 +351,10 @@ alias gblm='git blame -wMC'
|
|||
alias gbm='git branch -m'
|
||||
alias gbr='git branch -rv'
|
||||
alias gc='git commit'
|
||||
alias gcs='git commit -S'
|
||||
alias gcs='git commit -S' # signed
|
||||
alias gcl='git clone'
|
||||
alias gcm="git commit -m"
|
||||
alias gcms="git commit -S -m"
|
||||
alias gcms="git commit -S -m" # signed
|
||||
alias gco='git checkout'
|
||||
alias gco-='git checkout -'
|
||||
git_checkout_build() {
|
||||
|
@ -366,11 +368,9 @@ alias gcpa='git cherry-pick --abort'
|
|||
alias gcpc='git cherry-pick --continue'
|
||||
alias gcps='git cherry-pick -n'
|
||||
alias gd='git diff'
|
||||
alias gdc='git diff --cached'
|
||||
alias gdcc='git diff --cached -w'
|
||||
alias gdc='git diff --cached --color-words'
|
||||
alias gdm='git diff master'
|
||||
alias gds='git diff --stat=160,120'
|
||||
alias gdw='git diff --color-words'
|
||||
alias gf='git fetch'
|
||||
alias gfa='git fetch --all'
|
||||
alias gfd='git fetch --prune'
|
||||
|
@ -448,7 +448,7 @@ alias gsp3='git stash pop stash@{3}'
|
|||
alias gsp4='git stash pop stash@{4}'
|
||||
alias gsp5='git stash pop stash@{6}'
|
||||
alias gsp6='git stash pop stash@{7}'
|
||||
alias gt='git tag'
|
||||
alias gt='git tag -s' # Signed
|
||||
alias gta='git tag -a'
|
||||
alias gtd='git tag -d'
|
||||
alias gtl='git tag -l'
|
||||
|
|
10
gitconfig
10
gitconfig
|
@ -48,28 +48,28 @@
|
|||
#lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset%C(white dim)[%Creset%an%Creset%C(white dim)]%Creset%C(yellow bold)%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 2
|
||||
# lg = log --graph --pretty=format:'%C(yellow bold)%h [%Creset%an%Creset%C(yellow bold)]%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h [%Creset%an%Creset%C(yellow bold)]%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 3
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset<%an> %C(yellow bold)%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 4
|
||||
# lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset[%an] %C(yellow bold)|%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset[%an] %C(yellow bold)|%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 5
|
||||
# lg = log --graph --pretty=format:'%C(yellow bold)%h|%Creset%an%Creset%C(yellow bold)|%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h|%Creset%an%Creset%C(yellow bold)|%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 6
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h|%Creset%C(yellow dim)%an%Creset%C(yellow bold)|%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 7
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset%C(yellow dim)%an %Creset%C(yellow bold)|%d %Creset%C(white bold)%s %C(white dim)[%ad|%cr]%Creset' --date=relative
|
||||
lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset%C(yellow dim)%an %Creset%C(yellow bold)| %Creset%C(white bold)%s %C(white dim)[%ad|%cr] %Creset%C(yellow bold)%d %C(cyan bold)%<(8,trunc)%GK%Creset' --date=relative
|
||||
|
||||
# Style 8
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h%Creset%C(white dim)|%Creset%an%Creset%C(white dim) >%Creset%C(yellow bold)%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 9
|
||||
lg = log --graph --pretty=format:'%C(yellow bold)%h%C(black bold)|%C(white dim)%an%Creset%C(yellow bold) >%d %Creset%C(white bold)%s %C(black bold)<%ad|%cr>%Creset' --date=relative
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h%C(black bold)|%C(white dim)%an%Creset%C(yellow bold) >%d %Creset%C(white bold)%s %C(black bold)<%ad|%cr>%Creset' --date=relative
|
||||
|
||||
# Style 10
|
||||
#lg = log --graph --pretty=format:'%C(yellow bold)%h %Creset%C(yellow dim)%an%Creset%C(yellow bold) >%d %Creset%C(white bold)%s %C(white dim)<%ad|%cr>%Creset' --date=relative
|
||||
|
|
Loading…
Reference in New Issue
Block a user