Skip to main content

git

  • git diff

    • -stats: show stats of changes
    • --cached: show staged changes
  • git reset ~head~1

  • git commit -s: sign off on the commit -m: commit message --amend: amend the last commit