Display Git Configuration with “git config –list” Command

Display Git Configuration with "git config --list" Command

Git provides different configurations like user name, user email, editor, coloring, etc. These configurations can be also set in different modes called global, user, and local. The git config –list command is used to print all of these different types or levels of configurations in the command-line interface. List Git Configuration The current git configuration … Read more

Git Config (git-config) Command Tutorial

Git Config (git-config) Command Tutorial

The git config command is used to configure Git installation for the system-wide or current users or for a specific repository. The git config command provides a lot of different options to configure like default editor, user email, user name, merge tool, output coloring, command alias, etc. In this tutorial, we examine the general usage … Read more

How To Add New Remote Repository In Git?

How To Add New Remote Repository In Git?

Git is a distributed source code versioning system where repositories are used as central points and developers download and push changes to their locals. In an existing git project, the new remote repository can be added with the git remote add command by specifying the remote repository URL, repository name, etc. In the tutorial, we … Read more

How To Checkout Remote Git Branch?

How To Checkout Remote Git Branch?

Git provides remote branches in order to collaborate with others. The git checkout command is used to checkout remote branches. The collaborated repositories are hosted in the remote Git servers and used by other developers. Fetch Remote Branch Information First, we will fetch and update remote branch information. The git fetch command with the –all … Read more

How To Rename (Local and Remote) Git Branch?

How To Rename (Local and Remote) Git Branch?

Git provides branches in order to create multiple copies of the current code repository. Branches can be identified by their hashes and names but the names are more human-friendly for identification. Branche names can be set at the start of the branch creation but also changes after creation. In this tutorial, we examine how to … Read more