sublime_merge
sublime_merge copied to clipboard
Make adding a remote more friendly
Problem description
Quite often when I want to make some fixes to a PR somebody has made to a git repository I maintain, I want to add their fork as a remote. I go to GitHub, copy the remote url to the clipboard and then go to Sublime Merge, open the Command Palette, and Add Remote. It then asks me for a name first...
Preferred solution
If the clipboard contains a valid git url, parse it and extract the name automatically. The name I will give the remote is always the owner of the fork.
Alternatives
Ask for the remote url first and then auto suggest the name second.