Automatically detect self-hosted GitLab URLs
Problem to solve
Improve user experience
Proposal
Automatically detect the self-hosted GitLab URL from the git remotes if the user is in a git repository.
- Detect .git folder
- Check remotes
- Offer the remote URL when user is using
glab auth login
Further details
Just a user experience improvement, saves typing or copy/paste.
Links / references
None