Tag: git

Gitlab is the best alternative to Github git repository management system. It provides an option to users of the self hosted version as well. You can simply install Gitlab server and take full advantages of its outstanding features. This tutorial will help you Install Gitlab Server (Community Edition) on your own Ubuntu 16.04/14.04 &...

Git client added an identity to each commit. For this Git uses an username and email address to associate with the commit. This name and email change will apply for future commits only. Setup git username for a single repository Open Terminal and use the following commands to set Git username and email address...

This tutorial will help you to delete commit history from your local git repository and remote git repository hosted on Github, Gitlab, Bitbucket or any other git hosting. In this repository, you will remove the local master branch and create a new master branch. Finally, push changes to the remote git repository. Delete Commit...

This tutorial will help you to list remote branches available on remote git repository. It is helpful you to find names of branches, which has been created on remote repository by someone and you want to checkout this on your local repository. Method 1: Fetch Remote Tracking Branches Firstly run git fetch command to...

This tutorial will help you to checkout remote git branch which is not available on local git repository. Use command git branch to list local branches available. Checkout Remote Git Branch Now use command git branch -a to list all available branches on local and remote git repository. After that run command git fetch...

Git has released 2.13.0 version on May 09, 2017. Git is a free and open source distributed version control system . Git 2.13 comes with a large number of updates versus previous release 2.12. It is designed to handle a small to very large projects with speed and efficiency. To know more about Git...

Git has released 2.15 version on Oct 30, 2017. Git is a free and open source distributed version control system. It is designed to handle a small to very large projects with speed and efficiency. To read more details and changes about Git 2.15 read Git release notes. If you are using a Git...

Using Git pull, we download latest changes from Git remote repository to local repository code. During this process, we faced issues many times due to local changes. Then we need to force overwrite any local changes and update all files from remote repository. Important :- All the local changes will be lost. Any local...

What are Untracked Files – The files are folders which is created locally and have not been added to the git repository ever. Sometimes you may need to delete these untracked files from your code. These files can be some temporary created files in application. Use the below commands to list all untracked files...

Sometimes you found that you have committed some wrong files for in-completed code in your local git repository. The following command will revert last commit in your current working repository. If you just want to change last commit message, you can use this article to do it. Undo the Last Commit:- $ git reset...