Closed abentley closed 3 years ago
The equivalent of: $ PARENT=$(git merge-base origin/develop HEAD) $ NEW_HEAD=$(git commit-tree -p $PARENT HEAD^{tree} -m "message") $ git reset --hard $NEW_HEAD
except as a command, with target and message as parameters.
Maybe concatenate all the old log messages if none specified?
The equivalent of: $ PARENT=$(git merge-base origin/develop HEAD) $ NEW_HEAD=$(git commit-tree -p $PARENT HEAD^{tree} -m "message") $ git reset --hard $NEW_HEAD
except as a command, with target and message as parameters.
Maybe concatenate all the old log messages if none specified?