Skip to content

Instantly share code, notes, and snippets.

@maelvls
Last active July 24, 2024 09:05
Show Gist options
  • Save maelvls/ae04068acf7c53389b9ff94c47ef45ef to your computer and use it in GitHub Desktop.
Save maelvls/ae04068acf7c53389b9ff94c47ef45ef to your computer and use it in GitHub Desktop.
Tips gitlab

To remove the vendor/ diffs in Go, add a bookmark in Firefox with:

javascript:(function(){ var q = prompt("Example filter: vendor/"); if (q != null) { $(".diff-file:contains(" + q + ")").detach() }}())

To expand all the resolved comments in a GitHub pull request, I used to use a bookmark with a javascript snippet using this Gist, but it seems like GitHub silently added a feature where pressing Option while clicking on "Expand comment" on one of the folded comments expands all the comments at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment