Git
  • About
    • Trademark
  • Learn
    • Book
    • Cheat Sheet
    • Videos
    • External Links
  • Tools
    • Command Line
    • GUIs
    • Hosting
  • Reference
  • Install
  • Community

    Reference

    Quick reference guide: Cheat Sheet

    Complete list of all commands

    Setup and Config

    • git
    • config
    • help
    • bugreport
    • Credential helpers

    Getting and Creating Projects

    • init
    • clone

    Basic Snapshotting

    • add
    • status
    • diff
    • commit
    • notes
    • restore
    • reset
    • rm
    • mv

    Branching and Merging

    • branch
    • checkout
    • switch
    • merge
    • mergetool
    • log
    • stash
    • tag
    • worktree

    Sharing and Updating Projects

    • fetch
    • pull
    • push
    • remote
    • submodule

    Inspection and Comparison

    • show
    • log
    • diff
    • difftool
    • range-diff
    • shortlog
    • describe

    Patching

    • apply
    • cherry-pick
    • diff
    • rebase
    • revert

    Debugging

    • bisect
    • blame
    • grep

    Guides

    • gitattributes
    • Command-line interface conventions
    • Everyday Git
    • Frequently Asked Questions (FAQ)
    • Glossary
    • Hooks
    • gitignore
    • gitmodules
    • Revisions
    • Submodules
    • Tutorial
    • Workflows
    • All guides...

    Email

    • am
    • apply
    • imap-send
    • format-patch
    • send-email
    • request-pull

    External Systems

    • svn
    • fast-import

    Administration

    • clean
    • gc
    • fsck
    • reflog
    • filter-branch
    • instaweb
    • archive
    • bundle

    Server Admin

    • daemon
    • update-server-info

    Plumbing Commands

    • cat-file
    • check-ignore
    • checkout-index
    • commit-tree
    • count-objects
    • diff-index
    • for-each-ref
    • hash-object
    • ls-files
    • ls-tree
    • merge-base
    • read-tree
    • rev-list
    • rev-parse
    • show-ref
    • symbolic-ref
    • update-index
    • update-ref
    • verify-pack
    • write-tree
    About this site
    Patches, suggestions, and comments are welcome.
    Git is a member of Software Freedom Conservancy