Git Command Guide

Introduction

Git is a version control system and a powerful tool for tracking the change history of software development projects. This page explains the main Git commands and their arguments. Commands are organized by category, and each command's basic usage and common arguments are introduced.

Commands by Category

Git Operations Guide

Explanations about development operations using Git, such as Git Flow, CircleCI, GitHub Actions, etc.

View Git Operations Guide

Basic Git Commands

Basic commands for starting to use Git, such as repository initialization and cloning.

Main commands: git init, git clone, etc.

View Basic Git Commands Details

Tracking and Checking Changes

Commands for checking the status of the working directory and adding changes to the staging area.

Main commands: git status, git add, etc.

View Tracking and Checking Changes Commands Details

Commit-Related Commands

Commands for recording changes to the repository.

Main commands: git commit, etc.

View Commit-Related Commands Details

Branch-Related Commands

Commands for creating, switching, and managing branches.

Main commands: git branch, git checkout, git switch, etc.

View Branch-Related Commands Details

Remote Repository Operations

Commands for coordinating with remote repositories and sending/receiving changes.

Main commands: git remote, git push, git pull, git fetch, etc.

View Remote Repository Operations Commands Details

History and Diff Checking

Commands for checking commit history and changes.

Main commands: git log, git diff, etc.

View History and Diff Checking Commands Details

Temporary Storage and Work Restoration

Commands for temporarily saving changes in progress.

Main commands: git stash, etc.

View Temporary Storage and Work Restoration Commands Details

Merge and Rebase

Commands for integrating branches and organizing commit history.

Main commands: git merge, git rebase, git cherry-pick, etc.

View Merge and Rebase Commands Details

Submodule Management

Commands for managing other repositories within a repository.

Main commands: git submodule add, git submodule update, etc.

View Submodule Management Commands Details