April 2017
« Feb    

Git Error : remote HEAD refers to nonexistent ref, unable to checkout.

We are using GitLab application to manage the version for all the project. One of the dev team has got an error while he is trying to clone the existing git repo for the first time.

@erw-165:~/public_html$ git clone Cloning into ‘myproject’… remote: Counting objects: 5552, done. remote: Compressing objects: 100% (4453/4453), done. remote: […]

Quick steps to backup Git repository and restore the files

Git is a distributed version control system which help people to work on the same documents (often code) at the same time, and without stepping on each other’s toes.We can easily switch in between the branches and commit the update to central master repository.

GitHub is a most popular/known Git service providers like bitbucket. Git […]

GitLab : shared_helpers.rb:2:in `require’: no such file to load — rubygems (LoadError)

I have been setting up a Git server on AWS cloud using GitLab Opensource software. GitLab is an excellent application for Managing Git repositories over web and a replacement of paid GitHub service. This software does support both ssh and http communication.

I prefer CentOS for hosting it. The following link is an excellent and […]

GitHub : fatal: Could not read from remote repository.

One of the production server is being updated from Github directly as one of the user deployed files from git checkout. This is done for their easiness and no need to transfer the files every time if there is an update occurs. This is REALLY a BAD idea to use production space having version control […]

Subversion : Removing uncommitted transactions

One of the projects badly affected by the following errors and user requested us to re-load the new repository with latest code they have. After spending some time in net, it’s is identified that there are lots of uncommitted transaction logs are occurred in svn repository. This cause svn stops to execute any further commits […]

Subversion : setup svnserve in a easy way

I had worked with various type of subversion deployments which using ssh, http and https. All the above steps has some difficulties when we moved it to another cpanel or production mode server.

The issues are,

a. SVN over ssh requires ssh access to user account which I do not like b. http/https requires mod_dav,mod-svn […]