Skip to content

Commit

Permalink
✨ feat: add function and alias about git #17
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Jun 30, 2024
1 parent 3e45e51 commit a77aa21
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2275,3 +2275,15 @@ function git_select_switch_branch() {
fi
}
alias gitselectswitchbranch="git_select_switch_branch"

function git_stash() {
wsd_exe_cmd git stash
}
alias gitstash="git_stash"
alias gsh="git_stash"

function git_stash_clear() {
wsd_exe_cmd git stash clear
}
alias gitstashclear="git_stash_clear"
alias gshc="git_stash_clear"

0 comments on commit a77aa21

Please sign in to comment.