3 ms·
> Similarly, on pages like GitLab you can link to specific line(s) of code in a file...but it often is the head of that branch. The URL will resolve in the futu
by Towaway69 3y ago
> Similarly, on pages like GitLab you can link to specific line(s) of code in a file...but it often is the head of that branch. The URL will resolve in the future, but its pretty common that the chunk of code has moved.
On GitHub you can hit the 'y' key[1] and it will add the revision into the URL.
GitLab will most probably have something similar.
[1]=https://docs.github.com/en/get-started/accessibility/keyboard-shortcuts#source-code-browsing https://docs.github.com/en/get-started/accessibility/keyboar...
- pfranz 3y agoThanks! It looks like they use the same shortcut key! https://docs.gitlab.com/ee/user/shortcuts.html#project-files https://docs.gitlab.com/ee/user/shortcuts.html#project-files