11 lines
136 B
Bash
Executable File
11 lines
136 B
Bash
Executable File
#!/usr/bin/env bash -e
|
|
|
|
branch=$(git branchname)
|
|
base="$1"
|
|
shift
|
|
|
|
git reset $(git merge-base $base $branch)
|
|
git add -A
|
|
git commit "$@"
|
|
|