Git FAQ

Config

Clone

  • Partial clone

    How to clone only part of commits of a huge repository

Branch

Stash

  • Stash changes

    How to save changes temporally, apply changes, list stashes, delete a stash?

Commit

Undo

Remote

  • Remote management

    How to add a remote, delete a remote, change the URL of a remote, etc.

Diff

  • Differences

    How to check differences between working tree, index, a specific commit?

View

Delete

Log

  • Check log

    How to view the last several commits, search the commit history with string, list the commits graphically, check which commit changed a string, etc.