sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Make adding a remote more friendly

Open keith-hall opened this issue 9 months ago • 1 comments

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.

keith-hall avatar Jan 28 '25 19:01 keith-hall