Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
git [30.08.2019 @ 08:37]
Christophe Frattino [You fucked up ?]
git [30.08.2019 @ 08:37] (current)
Christophe Frattino [You want to reset your master to the state of origin's]
Line 25: Line 25:
 ==== You want to reset your master to the state of origin'​s ==== ==== You want to reset your master to the state of origin'​s ====
 <​code>​ <​code>​
 +git checkout master
 git fetch origin git fetch origin
 git reset --hard origin/​master git reset --hard origin/​master
Print/export