gh issue create —repo <[HOST/]OWNER/REPO>
gh issue create —repo <[HOST/]OWNER/REPO>
I was surprised seeing ton of people going for the replace approach. It didn’t even cross my mind to edit the string, I went straight for regex for part 1 and it was easy enough to adapt it for part 2.
I created a plugin to sync with GitHub on all platforms, it has some bugs that I need to find the time to fix but it does the job most of the times.
If you want to give it a try here it’s called GitHub Gitless Sync. https://github.com/silvanocerza/github-gitless-sync
Mind that you won’t have the full control of a git repo this way.