# joshnh/git-commands

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/joshnh-git-commands).**

5,450 stars · 3,929 forks

## Links

- GitHub: https://github.com/joshnh/Git-Commands
- awesome-repositories: https://awesome-repositories.com/repository/joshnh-git-commands.md

## Description

This project is a curated Git command reference and version control cheat sheet. It serves as a workflow guide for initializing projects, managing branches, and coordinating changes between local and remote environments.

The documentation provides a categorized list of commands to manage file snapshots, commit histories, and general development workflows. It maps common version control tasks to their specific shell syntax for quick reference.

The reference covers several primary capability areas, including branch management, history inspection, and remote synchronization. It also includes guidance on managing file snapshots and stashing temporary work.

The content is organized as markdown-based documentation and delivered via static files.

## Tags

### Development Tools & Productivity

- [Command Reference Guides](https://awesome-repositories.com/f/development-tools-productivity/command-reference-guides.md) — Offers a curated collection of shell commands and workflows organized by functional categories. ([source](https://github.com/joshnh/git-commands#readme))
- [Git Branching & Merging](https://awesome-repositories.com/f/development-tools-productivity/git-branching-merging.md) — Provides a reference for creating, renaming, and merging branches to organize development work. ([source](https://github.com/joshnh/git-commands#readme))
- [Git References](https://awesome-repositories.com/f/development-tools-productivity/git-references.md) — Serves as a quick-reference guide and cheat sheet for common Git commands.
- [Git Push Operations](https://awesome-repositories.com/f/development-tools-productivity/local-file-syncing/remote-repository-syncing/git-push-operations.md) — Guides the process of sending committed snapshots from a local repository to a remote one.
- [Git History Navigation](https://awesome-repositories.com/f/development-tools-productivity/project-history-navigation/git-history-navigation.md) — Provides methods for navigating through commit histories and file states to track project evolution.
- [Repository Initializations](https://awesome-repositories.com/f/development-tools-productivity/remote-repository-managers/repository-initializations.md) — Guides the initialization of local repositories and the cloning of remote versions. ([source](https://github.com/joshnh/git-commands#readme))
- [Remote Repository Synchronization](https://awesome-repositories.com/f/development-tools-productivity/remote-repository-synchronization.md) — Provides commands for pushing local commits to a server and pulling updates from remote sources. ([source](https://github.com/joshnh/git-commands#readme))
- [Version Control History](https://awesome-repositories.com/f/development-tools-productivity/version-control-history.md) — Provides instructions for viewing commit logs and comparing differences between branches. ([source](https://github.com/joshnh/git-commands#readme))
- [Command Categorizations](https://awesome-repositories.com/f/development-tools-productivity/command-categorizations.md) — Groups related Git commands into logical sections to simplify finding specific version control operations.
- [Git Workflow Utilities](https://awesome-repositories.com/f/development-tools-productivity/git-workflow-utilities.md) — Outlines local repository operations such as staging, committing, and reversing changes.
- [Work Stashing](https://awesome-repositories.com/f/development-tools-productivity/work-stashing.md) — Explains how to save uncommitted changes to a temporary area to clear the working directory. ([source](https://github.com/joshnh/git-commands#readme))

### Part of an Awesome List

- [Git and Version Control Tools](https://awesome-repositories.com/f/awesome-lists/devtools/git-and-version-control-tools.md) — Supplies utilities and commands to simplify and enhance general Git workflows.
- [Git Tutorials and Guides](https://awesome-repositories.com/f/awesome-lists/devtools/git-tutorials-and-guides.md) — Provides educational documentation and guides for mastering version control workflows.
- [Version Control](https://awesome-repositories.com/f/awesome-lists/devtools/version-control.md) — Quick reference for common version control operations.

### Data & Databases

- [Version Control Snapshots](https://awesome-repositories.com/f/data-databases/data-snapshotting/state-snapshots/version-control-snapshots.md) — Details how to track file changes and commit modifications to the permanent project history. ([source](https://github.com/joshnh/git-commands#readme))

### Education & Learning Resources

- [Command Cheat Sheets](https://awesome-repositories.com/f/education-learning-resources/command-cheat-sheets.md) — Provides a categorized list of Git commands for managing snapshots, histories, and workflows.

### Content Management & Publishing

- [Markdown Documentation](https://awesome-repositories.com/f/content-management-publishing/content-management-systems/content-architecture-modeling/documentation-tooling/authoring-editing/markdown-documentation.md) — Uses markdown syntax to store and render structured technical guides and command lists.

### Software Engineering & Architecture

- [Lookup Table Mappings](https://awesome-repositories.com/f/software-engineering-architecture/lookup-table-mappings.md) — Maps common version control tasks to their specific shell syntax using a reference table.
