-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
51 lines (44 loc) · 1.11 KB
/
.bash_profile
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
# Git alias
alias gapp='git apply'
alias gloga='git log --oneline --decorate --graph --all'
alias glog='git log --oneline --decorate --graph'
alias gln='git log --oneline --decorate --graph --name-status'
alias gpl='git pull'
alias gs='git status'
alias gst='git stash'
alias gst='git stash -p'
alias gp='git push'
alias gpf='git push -f'
alias gf='git fetch'
alias gd='git diff'
alias gc='git commit'
alias gck='git checkout'
alias grb='git rebase -i'
alias gmg='git merge'
alias gbr='git branch'
alias grs='git reset'
alias grsh='git reset --hard'
alias gsh='git show'
alias grc='git recap'
alias gall='git add .'
alias ga='git add'
alias gap='git add -p'
alias gcl='git clean -df'
alias grlog='git reflog'
alias ls='ls -al --color'
alias grep='grep --color=tty'
# Laravel artisan
alias pa='php artisan'
# Composer alias
alias cpu='composer update'
alias cpi='composer install'
alias cpsh='composer show'
alias cpr='composer require'
# Docker
alias dps='docker ps'
alias dls='docker container ls -a'
alias dst='docker start'
alias dstp='docker stop'
source ~/.bashrc
# Load in the git branch prompt script.
source ~/.git-prompt.sh