feat(git): if args is empty, set to dot "."
This commit is contained in:
parent
10c7986178
commit
7a79ec948c
1 changed files with 4 additions and 2 deletions
6
git.sh
6
git.sh
|
@ -11,8 +11,10 @@ month_dir=$(date +"%m %b")
|
||||||
|
|
||||||
git reset HEAD -- .
|
git reset HEAD -- .
|
||||||
other_args="${@:2}"
|
other_args="${@:2}"
|
||||||
echo $@
|
|
||||||
echo "args $other_args"
|
if [ "$other_args" = "" ]; then
|
||||||
|
other_args="."
|
||||||
|
fi
|
||||||
|
|
||||||
gitStatus() {
|
gitStatus() {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue