gitlab-shell push fatal error
ssh -T email@example.com Welcome to GitLab 5.2, Anonymous!
But when I try to push anything
git push -u origin master fatal: The remote end hung up unexpectedly
I checked across many answers in stackover flow and the issue list of gitlab but non of them seems to help me.
GitLab v5.0 git push problems
2 Solutions collect form web for “gitlab-shell push fatal error”
Answering my own question. The issue turn out to be with gitlab url.
So it was not issue more of a configuration setup. The config.yml of gitlab-shell should correctly point the URL. In my case it was http://git.domain.com:9222/.
Also, I use RVM for all ruby stuff, so make sure change all ruby binary path in gitlab config files from /usr/bin/ruby to $HOME/.rvm/bin/ruby.
$ git config –global user.name “Your Name Comes Here”
$ git config –global user.email firstname.lastname@example.org
First type the above commands with your username as email and password.
then type these line of code
$ git init
$ git add .
then type the command it will work.