Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • why po? push origin? what happen if this is ran multiple times? Commented Aug 20, 2017 at 21:20
  • Yes, as in push origin. Nothing happens if it's run multiple times. I also have a git push -f alias set up to git pf, so I use that once the origin has already been pushed. Commented Aug 20, 2017 at 21:57
  • see djanowski's comment, you can directly use HEAD Commented Oct 10, 2017 at 8:46