Created
December 31, 2023 05:59
-
-
Save b-/4d279405d43401ecf12f399ac3cf82b9 to your computer and use it in GitHub Desktop.
shmerge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function shmerge() { git switch -c "$1" &&shift; git commit -am"$*" && gh pr create && echo "waiting 10s to start checks" ; sleep 10s; gh run view --exit-status && gh pr merge -d} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment