Skip to content

hywelstar/git-frequent-commands

Repository files navigation

git-frequent-commands

Overview

This repository collects frequently used Git commands and short workflow guides that developers can use as a practical reference. It covers installation, status inspection, commits, branches, diffs, logs, tags, submodules, and Git configuration.

Documentation Index

Getting Started

  • Git Installation Guide: Install Git on common operating systems and verify that it works.
  • Git Status Guide: Check working tree, staging area, and branch state before making changes.
  • Git Config Guide: Set your username, email, editor, aliases, and other common defaults.

Everyday Commit Workflow

  • Git Commit Guide: Write clearer and more consistent commit messages.
  • Git Push Guide: Review changes, stage files, commit work, and push to a remote branch.
  • Git Emoji Guide: Use gitmoji references for commit message categorization.

Branches and History

Remotes and Submodules

Suggested Reading Order

If you are new to Git, a practical reading order is:

  1. git-install-steps.md
  2. git-status-usage.md
  3. git-config-usage.md
  4. git-commit-usage.md
  5. git-push-steps.md
  6. git-branch-operations.md
  7. git-diff-usage.md
  8. git-log-usage.md
  9. git-tag-usage.md
  10. git-clone-with-submodules.md

Possible Future Additions

The repository could also be expanded with:

  • a Git stash guide
  • a Git clean guide
  • a Git remote guide
  • a merge vs. rebase comparison
  • a short FAQ for common mistakes

About

Comprehensive guide to frequently used Git commands

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors