Comments (10)
It's easy to add support for your Gitlab repo, but I think is much specific for global solution (without some type of setting)
I did that to use with my Gitlab server
# Github support
if grep -q github <<<$giturl; then
giturl=${giturl/git\@github\.com\:/https://github.com/}
# Gitlab support
elif grep -q gitlab.domain <<<$giturl; then
giturl=${giturl/git\@gitlab\.domain\.com\:/https://gitlab.domain.com/}
# bitbucket support
elif grep -q bitbucket <<<$giturl; then
giturl=${giturl/git\@bitbucket\.org\:/https://bitbucket.org/}
fi
from git-open.
@montogeek hook me up with a pull request and i'll merge it in a heartbeat.
from git-open.
+1
from git-open.
👍
I'd love bitbucket support!
from git-open.
That's already there.
from git-open.
@bbeardsley thanks for the hookup on gitlab
from git-open.
thanks @bbeardsley
from git-open.
True, I missed that!
Thanks :)
from git-open.
Merged in @bbeardsley's work. Test it out !
from git-open.
Thanks!
from git-open.
Related Issues (20)
- git open merge request HOT 1
- Exit code 127 and some advice
- npm seems to install an older version of git-open
- Customization option of url needed.
- gitlab: fails to open issues whose title contains numbers
- How to open url not with https ?
- Error: unknown style `zdiff3` given for `merge.conflictstyle`
- git-open not open SSH repository url HOT 4
- Changelog for 3.0.0 HOT 1
- Installation error: git: 'git-open' is not a git command. See 'git --help'. HOT 1
- How does it work? HOT 2
- [ Bitbucket ] Default open url for bitbucket repositories
- [Feature Request] Open a specific file HOT 1
- git-open not open issue page HOT 3
- Pulls URL adding `tree/BRANCH` HOT 2
- Sending Message feature is not working in Whatstapp HOT 2
- powershell.exe -NoProfile Start in WSL2
- Feature: Add a possibility to specify a port
- Windows unclear
- increasing issue points.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-open.