Skip to content

Instantly share code, notes, and snippets.

@saledwin
saledwin / Git_Commands.md
Last active April 25, 2018 14:43
Util git commands

Util Git commands

  • Show changes git status
  • Commit changes with message git commit -m "Commit message"
  • Show actual branch git branch
  • Add files to stash git add --A
  • Discard changes git checkout -- .

Branches

  • Switched to a branch git checkout branch_name