THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Git commands:
Code Block | ||
---|---|---|
| ||
# Get the exact same commits from the pull-request (the commit hashes must not change)
git fetch origin pull/${prId}/head:pr/${prId}
# Commit it without fast-forwarding. Type the commit message as detailed below.
git merge --no-ff --log pr/${prId}
# Finally, sign the merge commit.
git commit --amend -s --allow-empty-message -m '' |
An optional helper script with detailed usage and help can be found here.
Code Block | ||
---|---|---|
| ||
# Make sure you're on the branch you want to merge into
git checkout ${branch}
# Merge to the next branch and type the commit message as described below.
git merge --no-ff --log ${branch_to_merge}
|
An optional helper script with detailed usage and help can be found here.
...