Guest User

Untitled

a guest
Jan 15th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. gcamm() {
  2. local b="$(git_current_branch)"
  3. local task="$(perl -E 'print( (split /\./, $ARGV[0], 2)[0] )' $b)"
  4. echo $task
  5. [[ "$task" != "" ]] && git commit --verbose -am "$task $1"
  6. }
Add Comment
Please, Sign In to add comment