Skip to main content

Recently Updated Pages

Inspecting a Remote

Git like a Pro Git Basics

If you want to see more information about a particular remote, you can use the git remote show &l...

Updated 5 years ago by ClassCloud

Pushing to Your Remotes

Git like a Pro Git Basics

When you have your project at a point that you want to share, you have to push it upstream. The c...

Updated 5 years ago by ClassCloud

Fetching and Pulling from Your Remotes

Git like a Pro Git Basics

As you just saw, to get data from your remote projects, you can run: $ git fetch <remote&...

Updated 5 years ago by ClassCloud

Adding Remote Repositories

Git like a Pro Git Basics

We’ve mentioned and given some demonstrations of how the git clone command implicitly adds the or...

Updated 5 years ago by ClassCloud

Showing Your Remotes

Git like a Pro Git Basics

To see which remote servers you have configured, you can run the git remote command. It lists the...

Updated 5 years ago by ClassCloud

Working with Remotes

Git like a Pro Git Basics

To be able to collaborate on any Git project, you need to know how to manage your remote reposito...

Updated 5 years ago by ClassCloud

Unmodifying a Modified File

Git like a Pro Git Basics

What if you realize that you don’t want to keep your changes to the CONTRIBUTING.md file? How can...

Updated 5 years ago by ClassCloud

Unstaging a Staged File

Git like a Pro Git Basics

The next two sections demonstrate how to work with your staging area and working directory change...

Updated 5 years ago by ClassCloud

Undoing Things

Git like a Pro Git Basics

At any stage, you may want to undo something. Here, we’ll review a few basic tools for undoing ch...

Updated 5 years ago by ClassCloud

Limiting Log Output

Git like a Pro Git Basics

In addition to output-formatting options, git log takes a number of useful limiting options; that...

Updated 5 years ago by ClassCloud

Viewing the Commit History

Git like a Pro Git Basics

After you have created several commits, or if you have cloned a repository with an existing commi...

Updated 5 years ago by ClassCloud

Moving Files

Git like a Pro Git Basics

Unlike many other VCS systems, Git doesn’t explicitly track file movement. If you rename a file i...

Updated 5 years ago by ClassCloud

Removing Files

Git like a Pro Git Basics

To remove a file from Git, you have to remove it from your tracked files (more accurately, remove...

Updated 5 years ago by ClassCloud

Skipping the Staging Area

Git like a Pro Git Basics

Although it can be amazingly useful for crafting commits exactly how you want them, the staging a...

Updated 5 years ago by ClassCloud

Committing Your Changes

Git like a Pro Git Basics

Now that your staging area is set up the way you want it, you can commit your changes. Remember t...

Updated 5 years ago by ClassCloud

Viewing Your Staged and Unstaged Changes

Git like a Pro Git Basics

If the git status command is too vague for you — you want to know exactly what you changed, not j...

Updated 5 years ago by ClassCloud

Ignoring Files

Git like a Pro Git Basics

Often, you’ll have a class of files that you don’t want Git to automatically add or even show you...

Updated 5 years ago by ClassCloud

Checking the Status of Your Files

Git like a Pro Git Basics

The main tool you use to determine which files are in which state is the git status command. If y...

Updated 5 years ago by ClassCloud

Recording Changes to the Repository

Git like a Pro Git Basics

At this point, you should have a bona fide Git repository on your local machine, and a checkout o...

Updated 5 years ago by ClassCloud

Getting a Git Repository

Git like a Pro Git Basics

You typically obtain a Git repository in one of two ways: You can take a local directory th...

Updated 5 years ago by ClassCloud