origin



How common Git commands work and what they affect

  • avatar
  • 96 Views
  • 14 mins read
Preview image

Git is a widely used version control system, and its commands cover everything from saving a single change to rewriting the history of an entire repository. Each command acts on a specific part of the repository, and choosing one without knowing what it changes can rewrite shared history or discard work that was never saved anywhere else.