Shorthand functions
Hey @numa08,
I really like this gem and is exactly what I was looking for!
I'd like to help and build some more functionality on top of git-gitlab I'd like to make it more like hub, I propose the following functionality;
git clone seriousfox/my-project
Set a default group i.e we use seriousfox group then when running
git clone resque
Finally
# while on a topic branch called "feature":
$ git mr / git pull-request
[ opens text editor to edit title & body for the request ]
[ opened pull request on GitHub for "YOUR_USER:feature" ]
# explicit title, pull base & head:
$ git mr -m "Implemented feature X" -b defunkt:master -h mislav:feature
@onlymejosh Just FYI you can do this pretty easily with git aliases.
How so?
On Thu, Jan 28, 2016 at 12:33 pm, numa08/git-gitlab [email protected] wrote: @onlymejosh [https://github.com/onlymejosh] Just FYI you can do this pretty easily with git aliases.
— Reply to this email directly or view it on GitHub [https://github.com/numa08/git-gitlab/issues/28#issuecomment-176400873] .[https://github.com/notifications/beacon/AAVzARBfwgeA0An0xYzh3jpVuP5Rr_zrks5penKBgaJpZM4CCW7K.gif]
@onlymejosh Take a look at https://git.wiki.kernel.org/index.php/Aliases -- basically you can provide shorthand methods that will complete to the longer form of the methods (can even allow providing args with xargs).
FYI I've abandoned trying to use this repository in favor of http://seveas.github.io/git-spindle/gitlab.html