tips
tips copied to clipboard
Sync with remote, overwrite local changes
Hi there,
The following could be misleading to a novice in GIT: git fetch origin && git reset --hard origin/master && git clean -f -d
Perhaps this one would suffice: git fetch origin && git reset --hard HEAD && git clean -f -d
We can put that in alternatives, thanks.