Magithub + Spacemacs Useful Commands

Creating a Pull Request

To create a pull request on GitHub, you will need to do the following:

  1. Push the branch up to remote. I normally use origin as my remote.
  2. Open the Magit status window
  3. Use H p to start the flow and follow the prompts at the bottom of Spacemacs.

Refreshing Magithub Data

I often need to refresh the data for pull requests or the build status for a branch. This command took me a bit of time to find. First, you need to have your cursor in the Magit status window. Highlight what you want to update. This can be pull requests, issues, build status, and more. Then use:

g r