DEV Community

Discussion on: What do you Google EVERY. SINGLE. TIME. and never just memorize?

Collapse
 
ryanlabouve profile image
Ryan LaBouve

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