Editor's Pick

“Tracking Branches” And “Remote-Tracking Branches”

Both Tracking Branches and Remote Tracking Branches are created on the git client when a git clone command is used.

Merging Branches With a Conflict: Conflicts And Resolutions

Learn what to do when you have a conflict when merging branches in Git. 30+ additional Git Tutorials.

How to Recover a Deleted File From a Git Repository

Recovering a deleted file from the git repository is easy if you know the method and commands. This short tutorial walks you through the process.

Git rm – Remove a file from source control without deleting it

Use the --cached option git rm to remvoe a file from source git source control without deleting it form your hard drive. Learn about git on GitGuys.com.

Git Topics

Temporarily Stashing Your Work

Git Stash is used when you want to record the current state of the working directory and index, without committing, to come back to complete later.

Where Do I Get Git?

Where do you get git? We have the answer to that for Linux (Ubuntu, Debian, and Red Hat), Windows, and Apple OS as well as over 30 free git tutorials.

Git rm – Remove a file from source control without deleting it

Use the --cached option git rm to remvoe a file from source git source control without deleting it form your hard drive. Learn about git on GitGuys.com.

What is the deal with the Git Index? What is the Git Index?

The git "index" is where you place files you want committed to the git repository. Learn more about the git index and git commit by selecting this link.

Stay on top - Get the daily news in your inbox

Latest Git Updates

Temporarily Stashing Your Work

Git Stash is used when you want to record the current state of the working directory and index, without committing, to come back to complete later.

Git Commits And Referring To Commits | GitGuys

Commands discussed in this section are git commit, git log, and git show. When you use the git commit command to commit/check-in/submit to the git repository:

Git Mergetool – Merging With a GUI

Using Git Mergetool, git can work with a large number of GUI tools for helping with merging. A couple of popular GUI tools used on Linux are kdiff3 and meld.

HEAD: Where Are We? Where Were We?

Git uses the HEAD variable, which by default, is a reference to the current (most recent) commit. In our example, the most recent commit is labeled C2 in the diagram:

Git Object Store: Creating the Sample Working Directory

The instructions below show how the files and directories were created and added to the git object store that is discussed in the tutorial "Git object: Tree."

The Configuration File – “remote” Section – Git Config

In this tutorial you get dirty and find out what is really going on with git conf by exploring in the .git/config file by using the git remote commands.

Adding and Removing Remote Branches

Adding and removing remote branches using git branch is explained in this tutorial. Click on this link to learn more about using git branch with remote branches.

Git Resources

8 Reasons for Switching to Git

Switching to Git can decrease the time required for managing your code base, increased time for coding. Git automates many of the tasks that you need to do while managing your code, saving you time.

Git Repositories

How to Recover a Deleted File From a Git Repository

Recovering a deleted file from the git repository is easy if you know the method and commands. This short tutorial walks you through the process.