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.

Git Merge – Merging Branches Without Conflict

Examples of when would you might want to merge branches using git merge are explained in detail in this tutorial. 30+ additional, free tutorials available.

Why Use Git Instead of a Legacy Version Control System?

Why use Git, because Git is distributed so you have the ability to have a copy of the complete repository on your local drive that you can work against.

Git Topics

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 Object: tree

A git tree object is very similar to a filesystem directory. Filesystem directories refer to other directories and files, while git trees refer to other git trees and git blobs:

Why Use Git Instead of a Legacy Version Control System?

Why use Git, because Git is distributed so you have the ability to have a copy of the complete repository on your local drive that you can work against.

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.

Git Repositories – Just Tell Me What I need to Git Going!

Most of the time, you will likely use just a handful of git commands: git add to tell git this file is ready to be committed to the git repository.

What’s In The Git Index? What’s Changed?

We explain and show how to use the helpful commands and for finding out the state of your working directory and git index.

Stay on top - Get the daily news in your inbox

Latest Git Updates

Git Diff Command Explained

See how the git diff command can be used to show you the difference between the version of a file in the working directory, index and most recent commit.

Git Object: Git Commit

When a git commit is done to "check in" the updates to the repository, git creates a new commit object, which is also saved to the git repository. Learn more.

The Configuration File – “Branch” Section

Git Branch - Let's look at the config file for the git client that did the git clone git://repohost/project1.git in the Git Remotes Behind the Scenes.

Why Use Git Instead of a Legacy Version Control System?

Why use Git, because Git is distributed so you have the ability to have a copy of the complete repository on your local drive that you can work against.

Git Repositories – Just Tell Me What I need to Git Going!

Most of the time, you will likely use just a handful of git commands: git add to tell git this file is ready to be committed 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.

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.

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 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.