Skip to content

Instantly share code, notes, and snippets.

@ygkn
Last active May 15, 2021 10:24
Show Gist options
  • Save ygkn/3ecb899475063d2a3b3f817cc5379fe1 to your computer and use it in GitHub Desktop.
Save ygkn/3ecb899475063d2a3b3f817cc5379fe1 to your computer and use it in GitHub Desktop.
IN CASE OF EMERGENCY
# 変更を全て add し commit
git commit -a -m "[skip ci] WIP: commit due to emergency"
# リモートの wip-ブランチ名-コミットハッシュブランチに push
git push origin $(git symbolic-ref --short HEAD):wip-$(git symbolic-ref --short HEAD)-$(git rev-parse HEAD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment