-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
56 lines (45 loc) · 1.15 KB
/
.bash_aliases
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ALIASES
### Universal
alias ll="ls -al"
alias ..='cd ..'
### Git
#### git-branch
alias gb="git branch"
alias gbd="git branch --delete"
alias gbD="git branch --delete --force"
#### git-checkout
alias gcb="git checkout -b"
alias gcm="git checkout master"
alias gco="git checkout"
#### git-commit
alias gc="git commit"
alias gca="git commit --all"
alias gcae="git commit --all --amend"
alias gcnm="git commit --no-verify --message"
alias gcnma="git commit --all --no-verify --message"
#### git-log
alias glgg="git log --graph"
alias glgga="git log --graph --decorate --all"
#### git-push
alias gp="git push"
alias gpo="git push origin"
alias gpuh="git push --set-upstream origin head"
#### git-rebase
alias grb="git rebase"
alias grbi="git rebase --interactive"
alias grbc="git rebase --continue"
alias grba="git rebase --abort"
#### git-stash
alias gsta="git stash"
alias gstc="git stash clear"
alias gstl="git stash list"
alias gstp="git stash pop"
#### (misc)
alias ga="git add"
alias gcp="git cherry-pick"
alias gd="git diff"
alias gfa="git fetch --all --prune"
alias gl="git pull"
alias grh="git reset head"
alias grH="git reset HEAD~"
alias gst="git status"