Skip to content

Instantly share code, notes, and snippets.

@smnbbrv
Created February 5, 2019 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smnbbrv/427a0ea1f74505473edcd0c53821246c to your computer and use it in GitHub Desktop.
Save smnbbrv/427a0ea1f74505473edcd0c53821246c to your computer and use it in GitHub Desktop.
Open Gitlab page
open $(git config remote.origin.url | sed -E 's/[^:]+:\/\/([^@]*@){0,1}([^:\/]+)([:0-9]*)(\/.+)\.git/https:\/\/\2\4/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment