Git::Gitlab
Command line tool for Gitlab
Installation
Add this line to your application's Gemfile:
gem 'git-gitlab'
And then execute:
$ bundle
Or install it yourself as:
$ gem install git-gitlab
Usage
Set up
Config some setting
git config --global gitlab.url http://gitlab.example.com/
git config --gloabl gitlab.token GITLAB_SECRET_TOKEN
git config gitlab.projectid GITLAB_PROJECTID
Let' run and Confirm setting
git gitlab
Create Merge Request
git gitlab merge SOURCE_BRANCH TARGET_BRANCH --assign USER_NAME
Show Issue by ID
git gitlab issue ISSUE_ID
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request