-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgsh.plugin.zsh
39 lines (38 loc) · 1.14 KB
/
gsh.plugin.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
alias gadd='git add'
alias glone='git clone'
alias gush='git push'
alias gorcepush='git push --force-with-lease'
alias gull='git pull'
alias giff='git diff'
alias gash='git stash'
alias gerge='git merge'
alias gebase='git rebase'
alias getch='git fetch'
alias granch='git branch'
alias ginit='git init'
alias gommit='git commit'
alias gamend='git commit --amend'
alias gwip='git add . && git commit --allow-empty-message --no-edit'
alias gog='git log --abbrev-commit --pretty=oneline'
alias gograph='git log --abbrev-commit --pretty=oneline --graph'
alias gatus='git status'
alias geckout='git checkout'
alias gevert='git revert'
alias glame='git blame'
alias geset='git reset'
alias gemote='git remote'
alias glean='git clean'
alias gwitch='git switch'
alias gubmodule='git submodule'
alias gag='git tag'
alias gmv='git mv'
alias grm='git rm'
alias gisect='git bisect'
alias gow='git show'
alias gestore='git restore'
alias gerrypick='git cherry-pick'
alias geflog='git reflog'
alias gwhatchanged='git whatchanged'
function gignore() {
[[ -n $1 ]] && wget --quiet --output-document .gitignore https://raw.githubusercontent.com/github/gitignore/main/$1.gitignore
}