Command line tool for Gitlab
Add this line to your application's Gemfile:
gem 'git-gitlab'
And then execute:
$ bundle
Or install it yourself as:
$ gem install git-gitlab
Config some setting
git config --global gitlab.url http://gitlab.example.com/
git config --global gitlab.token GITLAB_SECRET_TOKEN
git config gitlab.project NAMESPACE/PROJECT
if your remote repository is not origin
git config gitlab.remote REMOTE
git gitlab
git gitlab merge SOURCE_BRANCH TARGET_BRANCH --assign USER_NAME
git gitlab merge --list
git gitlab issue ISSUE_ID
git gitlab review MERGEREQUEST_ID
- 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