Closed MontakOleg closed 11 months ago
Derive GitLab merge URL from remote origin as discussed in https://github.com/keith/git-pile/pull/56#discussion_r1323261816.
Examples to check on regex101:
ssh_pattern = ^git@(git\.)?([^:]+):(.+)$ git@gitlab.com:companyname/ios git@git.gitlab.companydomain.app:mobile/ios git@gitlab.com:companyname/sre/protobuf
https_pattern = ^https:\/\/(.+)$ https://gitlab.com/companyname/ios https://gitlab.companydomain.app/mobile/ios https://gitlab.com/companyname/sre/protobuf
Thanks for such quick responses!
Derive GitLab merge URL from remote origin as discussed in https://github.com/keith/git-pile/pull/56#discussion_r1323261816.
Examples to check on regex101: