Settings

Theme

Ask HN: What are the top to 10 Git commands a new Git user should learn/master?

2 points by lprd 3 years ago · 1 comment · 1 min read


Besides throwing new users the Pro Git book (which I highly recommend), what are some of the most critical commands a new user should become familiar with and master? Feel free to expand over 10 if you feel that its necessary.

leed25d 3 years ago

branch, checkout, clone, commit, diff, log, pull, push, rebase, reset, status

watch out for off-by-one errors

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection