Last Updated: February 25, 2016
·
935
· pniemczyk

Git lab bash (shell) manager

Make merge request more easy and inform your colleagues for code review

glman use gitlab api, git and irc to provide easy interface to make merge requests

How it wokrks?

installation

gem install glman

setup

where gitlab (url = http://lh, private_token = 123)

glman config gitlab url:http://lh private_token:123 --set

setup irc
where gitlab (server:irc = irc.org, channel = free, ssl = true, port = 10, nick = dj)

glman config notify_irc server:irc.org channel:free ssl:true port:10 nick:dj --set

cache users (to make merge requests faster)

glman cache_users

make some aliases

where alias name is pn and user email is pawel@o2.pl

glman config aliases pn:pawel@o2.pl --add

merge request options

default: (merge request from current branch to master with last commit message)

glman mr pn

this command make marge request from current branch to master for pawel@o2.pl

make with git push current_branch

glman mr pn --push

glman mr pn "resolve problem with login" test_branch

this command make marge request from current branch to test_branch for pawel@o2.pl with custom message

glman mr pn --push --notify

this command push branch to repo and make marge request from current branch to master for pawel@o2.pl with notify on irc