mirror of
https://github.com/iwata/git-now.git
synced 2026-09-10 07:26:29 -04:00
expanded tab
This commit is contained in:
parent
6ff28b4b12
commit
a0d5d83085
14
git-now
14
git-now
|
|
@ -9,13 +9,13 @@ then
|
|||
printf "${MESSAGE}\n\n%s" "`git diff --cached`" | git commit -F -
|
||||
elif [ $1 != "--rebase" ]
|
||||
then
|
||||
if [ $1 != "--all" ]
|
||||
then
|
||||
git add $@
|
||||
else
|
||||
git add -u
|
||||
git add .
|
||||
fi
|
||||
if [ $1 != "--all" ]
|
||||
then
|
||||
git add $@
|
||||
else
|
||||
git add -u
|
||||
git add .
|
||||
fi
|
||||
printf "${MESSAGE}\n\n%s" "`git diff --cached`" | git commit -F -
|
||||
else
|
||||
FIRST_NOW_COMMIT=`git log --pretty=oneline --grep="${PREFIX}" | tail -n 1 | cut -d " " -f 1`
|
||||
|
|
|
|||
Loading…
Reference in a new issue