mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-12 05:45:59 +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
|
# Short-hands for various git functions
|
||||||
gitf () {
|
gitf () {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
# Stage all changes and fall through to WIP commit
|
# Stage and list changes to be committed
|
||||||
"aw")
|
"a")
|
||||||
git add .
|
git add $2
|
||||||
gitf w
|
gitf
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Checkout [and create] a git branch (defaults to "master")
|
# Checkout [and create] a git branch (defaults to "master")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue