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