mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-11 21:36:00 +01:00
fix(git): gitf case for adding and listing staged changes
This commit is contained in:
parent
ec119ae599
commit
ebf4f14913
1 changed files with 5 additions and 5 deletions
|
|
@ -127,10 +127,10 @@ mkd () {
|
|||
# Short-hands for various git functions
|
||||
gitf () {
|
||||
case "$1" in
|
||||
# Stage all changes and fall through to WIP commit
|
||||
"aw")
|
||||
git add .
|
||||
gitf w
|
||||
# Stage and list changes to be committed
|
||||
"a")
|
||||
git add $2
|
||||
gitf
|
||||
;;
|
||||
|
||||
# Checkout [and create] a git branch (defaults to "master")
|
||||
|
|
@ -204,7 +204,7 @@ sshl () {
|
|||
# | Tmux |
|
||||
# +------+
|
||||
|
||||
# Tmux split commands, "q" for fast access, "w" for horizontal (right of q), "a" for vertical (below q)
|
||||
# Tmux split commands, "q" for fast access, "w" for horizontal (right of q), "a" for vertical (below q)
|
||||
alias qw="tmux split-window -h"
|
||||
alias qa="tmux split-window -v"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue