gd function.
This commit is contained in:
parent
bfab8d85dc
commit
0985bdab2b
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@ LOCAL_GIT_DIR=${HOME}/.local/git
|
|||
|
||||
alias ga='git add .; git commit --no-edit --amend; git push --force-with-lease'
|
||||
alias gae='git add .; git commit --amend; git push --force-with-lease'
|
||||
gd() {
|
||||
curr_branch=$(git symbolic-ref --short -q HEAD)
|
||||
git checkout master
|
||||
git branch -D ${curr_branch}
|
||||
git pull
|
||||
}
|
||||
|
||||
alias less='less -R'
|
||||
|
||||
if [[ $(command -v bat) ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue