Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/usr/bin/env sh
  2. git fetch downstream
  3. git checkout downstream/2.7.0.jbossorg-x -B $1
  4. git cherry-pick -x $2
  5. OLD_MSG=$(git log --format=%B -n1)
  6. git commit --amend -m"$OLD_MSG" -m"downstream: $1"
  7. git push origin-rh $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement