lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

add copy branch url to clipboard option in branches menu

Open ryand67 opened this issue 3 years ago • 3 comments

Before there was not an option to copy the branch URL to the clipboard. Now Ctrl + B will copy branch URL to keyboard.

I believe git service paths are correct, was gathered through a combination of my own accounts and watching branches tutorials on YouTube to see how the path changes :) (azure devops, bitbucket server specifically). Let me know if anything needs to be changed. Thanks!

Related Issue: https://github.com/jesseduffield/lazygit/issues/1959

ryand67 avatar Jul 30 '22 00:07 ryand67

I propose we put this and the other copy X mappings behind y, which will open up a menu, like it's done for commits.

mark2185 avatar Jul 30 '22 05:07 mark2185

Life caught up with me this week, think I got everything here :)

ryand67 avatar Aug 05 '22 18:08 ryand67

I get the This branch doesn't exist on remote. You need to push it to remote first. when trying to copy the URL to the master branch, for both bitbucket and github repos.

mark2185 avatar Aug 07 '22 15:08 mark2185