re: What do you Google EVERY. SINGLE. TIME. and never just memorize? VIEW POST

VIEW FULL DISCUSSION
 

When I accidentally commit on master instead of a branch and I need to reset my master to match origin:

git reset --hard origin/master

code of conduct - report abuse