Tag: gitlab

Gitolite prompts for password only on central server with SSH registered

I am running gitlab which uses gitolite on a central repository Ubuntu machine and have several users that connect to this machine after adding their public SSH keys via Gitlab’s web interface. The different users on their own machines can successfully push and pull from the central repository machine just fine. On the machine itself, […]

git checkout carries unstaged files to the new branch

I have been trying to set-up repository with gitlab CE, as a part of the set-up created a repo and been playing around with it, when I encountered, that after I make some modification to files and switch branch using checkout, I’m allowed to switch even though I have unstaged files, which was different from […]

Strange error in gitlab: fatal: protocol error: bad line length character: Depl

On one of my servers, when I’m try to pull/ls-remote fresh-created repo on gitlab, I’m getting these error: git ls-remote git@gitlab.com:mas-vem/dinnerdelivery.git fatal: protocol error: bad line length character: Depl If I’m trying to ls-remote one of earliest created repositories, all is fine. When I’m run this command: ssh git@gitlab.com git-receive-pack mas-vem/dinnerdelivery.git I’m getting this error: […]

Getting permission denied (public key) on gitlab

My problem is that I can’t push or fetch from GitLab. However, I can clone (via HTTP or via SSH). I get this error when I try to push : Permission denied (publickey) fatal : Could not read from remote repository From all the threads I’ve looked, here is what I have done : Set […]

git post-receive hook “empty ident name”

I have built the following post-receive hook: #!/bin/sh cd /var/node/heartbeat/ || exit unset GIT_DIR echo $USER git pull –no-edit When I’m pushing to the repository the following error is returned: remote: remote: From server.net:chris/heartbeat remote: c0df678..5378ade master -> origin/master remote: remote: *** Please tell me who you are. remote: remote: Run remote: remote: git config […]

Want to setup a hook that copies committed files to a particular folder

Background: Developing a Facebook app using PHP Laravel framework & MySQL for database. I have setup Gitlab on our development server and created a repository on it where the team has been added and is committing & pushing code. What I would like to do is, when I push code to a particular branch on […]

How do I remove Tag in GitLab repository

I am using GitLab 7.7.2 and tried to remove Tag in a repository in GitLab. I could remove tag in a local repository but cannot remove tag in origin. How do I remove tag in GitLab repository? $ git tag -d Tag_AAA Deleted tag ‘Tag_AAA’ (was d10bff2) $ git push –delete origin Tag_AAA remote: GitLab: […]

How to store releases/binaries in GitLab?

I am building a workflow with Gitlab, Jenkins and – probably – Nexus (I need an artifact storage). I would like to have GitLab to store releases/binaries – is it possible in a convenient way? I would not like to have another service from which a release (and documentation) could be downloaded but to have […]

Not able to “git pull” – Host key verification failed

I’ve got root access to our production server and I want to deploy the latest version in git to the server but I’m running into the error below when I “git pull” on the folder I want to update. I’ve browsed around a bit, but can’t find a clear answer on what to do.. The […]

Can't connect IntelliJ-IDEA to GitLab with SSH

I am trying to connect my GitLab repository with IntelliJ-IDEA, and it still cant connect to the repo. I have tried the next things: I have msysgit installed correctly Generated the SSH keys (https://help.github.com/articles/generating-ssh-keys/) Added the key on GitLab keys Define the enviroment variables HOME USERPROFILE point to C:\Users\sebastian.garces.ssh. %USERPROFILE$/.ssh %HOME$/.ssh In IntelliJ changed SSH […]

Git Baby is a git and github fan, let's start git clone.