The Mountain (background)
Dan Sorensen
Published on

Gittin' Started with Git

Authors
  • avatar
    Name
    Dan Sorensen
    Twitter

On of my goals for 2022 is to be better with git command line. I've used git successfully for years with a variety of GUI tools and occasional command line updates. Many git features are not available (or not clear) through GUI menus.

So here are the top git commands I use to get daily work completed.

  1. git status
  2. git stage filename
  3. git commit -m 'short update message'
  4. git commit --amend
  5. git pull
  6. git push
  7. git log
    • tip: Press q to exit the log.
  8. git diff
    • tip: Press q to exit.
  9. git reset