gd function.
This commit is contained in:
parent
bfab8d85dc
commit
0985bdab2b
@ -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…
Reference in New Issue
Block a user