gd function.

This commit is contained in:
Bartek Stalewski 2024-07-02 16:00:44 +02:00
parent bfab8d85dc
commit 0985bdab2b
No known key found for this signature in database

View file

@ -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