Skip to content

Instantly share code, notes, and snippets.

@tobbbles
Created July 3, 2020 10:39
Show Gist options
  • Select an option

  • Save tobbbles/0f56ff4495e68c6afac2ea997170fc1e to your computer and use it in GitHub Desktop.

Select an option

Save tobbbles/0f56ff4495e68c6afac2ea997170fc1e to your computer and use it in GitHub Desktop.
A little git script to open the pull requests page of a repository.
#!/bin/bash
open https://github.com/$(git remote get-url origin | sed 's/git@github.com://' | sed 's/.git//g')/pulls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment