diff --git a/git_01_quick_commit.sh b/git_01_quick_commit.sh index c8c00f6..085827a 100755 --- a/git_01_quick_commit.sh +++ b/git_01_quick_commit.sh @@ -1,7 +1,7 @@ #!/bin/env bash TIMESTAMP=`date "+%Y%m%d%H%M"` -COURANTE=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | sed 's:(::g' | sed 's:)::g'` +COURANTE=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | sed 's:(::g' | sed 's:)::g' | xargs` git add .