jesseduffield.lazygit/pkg/commands
Ilya Kiselev 990db1f676 Add 'copy branch URL to clipboard' feature
Adds a keybinding (default: 'y') in the branches panel to copy the
branch's URL on the hosting service to the clipboard.

Each supported hosting service has a dedicated URL template:
- GitHub:           /tree/<branch>
- GitLab:           /-/tree/<branch>
- Bitbucket:        /branch/<branch>
- Azure DevOps:     ?version=GB<branch>
- Bitbucket Server: /browse?at=<branch>
- Gitea/Codeberg:   /src/branch/<branch>

Closes #1959
2026-07-10 16:19:06 +03:00
..
direnv Offer direnv .envrc approval from inside lazygit 2026-06-04 09:05:01 +02:00
git_commands Show renamed files in the custom patch builder 2026-07-04 13:05:09 +02:00
git_config Enable errorlint linter, and fix warnings 2025-06-30 18:30:11 +02:00
hosting_service Add 'copy branch URL to clipboard' feature 2026-07-10 16:19:06 +03:00
models Show renamed files in the custom patch builder 2026-07-04 13:05:09 +02:00
oscommands Use ConPTY on Windows for pty-backed command execution 2026-07-03 18:47:15 +02:00
patch Show renamed files in the custom patch builder 2026-07-04 13:05:09 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Show renamed files in the custom patch builder 2026-07-04 13:05:09 +02:00
git_cmd_obj_builder.go Suppress optional locks by default again, except foreground refresh 2026-07-02 16:05:08 +02:00
git_cmd_obj_builder_test.go Suppress optional locks by default again, except foreground refresh 2026-07-02 16:05:08 +02:00
git_cmd_obj_runner.go retry on ref lock errors during fetch/pull 2026-04-20 09:04:50 +02:00