GitLab Copy & Paste: Added Backticks


Problem

When copying (using either select and copy or the copy icon) a line of code like

atlantis apply

and then pasting it into GitLabs comment field the contents get enclosed in backticks like `atlantis apply`

Solution

GitLab tries to be helpful and adds that to make pasting with formatting (the default on all modern systems) easier.

in this case we need it without formatting, so doing a paste without formatting works.

On MacOS: Shift + Command + V

On Windows/Linux: Ctrl + Shift + v

gitlab 

See also