github-modules / ghwd Goto Github PK
View Code? Open in Web Editor NEWOpen the github URL that matches your shell's current branch and working directory
Home Page: npm.im/ghwd
Open the github URL that matches your shell's current branch and working directory
Home Page: npm.im/ghwd
as a user of a self hosted gitlab instance it would be great if the script could automatically adjust the base_url from the parsed remote_origin. If that's not feasible, making it possible to configure the "Fix URLs" section of the script at runtime with a parameter or through a configuration file would be a nice addition!
❯ cat .git/config | grep url
url = [email protected]:some-user/some-repo.wiki.git
❯ ghwd
It directs to:
https://github.com/some-user/some-repo.wiki/tree/master
But it should be:
Just an idea, it would be cool if I could use this tool to open an arbitrary project's github page. (rather than only looking at a local git clone)
% ghwd zeke/ghwd # would open https://github.com/zeke/ghwd
I noticed that the script is already using $1
for a specific filename in the local repo. Perhaps this could either be a flag? or perhaps a feature that only works outside a git repo?
I love this tool tool, thanks for making it :)
any plan to convert this into a atom plugin? could be AWESOME 😄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.