31,040
edits
| Line 170: | Line 170: | ||
* With GIT Command Line Interface: You can achieve this with command | * With GIT Command Line Interface: You can achieve this with command | ||
<source lang="bash"> | <source lang="bash"> | ||
git reset --hard HEAD | git reset --hard HEAD | ||
</source> | |||
To reset changes you commited but not pushed to origin | |||
<source lang="bash"> | |||
git reset --hard origin/develop | |||
</source> | </source> | ||