December 2018
« Apr    

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 […]