by bvrmn · 5y ago · 0 comments
cat ~/bin/stg-update
#!/bin/bash
set -e
current=$(stg top)
git push -f origin HEAD:$current
It pushes changes into remote branch with same name as a current patch.Definitely cumbersome to use, but it had fair reasons to be cumbersome.