forked from DariaSova/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
48 lines (44 loc) · 1.67 KB
/
.bashrc
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
alias g='git'
alias gsh='git show'
alias gcl='git clean -df && git reset --hard'
alias gst='git status -sb'
alias gbr='git branch'
alias gd='git diff'
alias gdc='git diff --cached'
alias branch-diff="!git diff $(git merge-base HEAD origin/master)"
alias ga='git add'
alias gf='git fetch'
alias glog='git log'
alias glgu='git log -u'
alias gcm='git commit -v'
alias gcmm='git commit -m'
alias gcma='git commit --amend'
alias gpm='git pull origin master'
alias grm='git rebase -i origin/master'
alias gch='git checkout'
alias gchb='git checkout -b'
alias gch='git ch'
alias gchm='git checkout master'
alias gl='git log --name-only'
alias glgg="git log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit"
alias glgg2="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias glg="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=local"
alias be='bundle exec'
alias bi='bundle install'
alias cl='clear'
alias gbrd='git branch -D'
alias gri='git rebase -i'
alias grc='git rebase --continue'
alias gra='git rebase --abort'
alias gria='git rebase -i --autosquash'
alias gpf='git push --force-with-lease'
alias gp='git push'
alias gpl='git pull'
alias gfm='git fetch origin master'
alias cat='bat'
alias maintenace_task='bin/rails generate maintenance_task '
alias tmux="TERM=screen-256color-bce tmux"
export TERM="xterm-256color"
if [ ! -z $BASH ] ; then
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
fi