![](https://maffan.dev/wp-content/uploads/2023/07/image-2-1024x441.png)
git reset --soft B
Få det att se ut som att allt arbete som gjorts sedan B
bara stageats, men inte commitats.
![](https://maffan.dev/wp-content/uploads/2023/07/image-5-1024x441.png)
git reset [--mixed] B
Få det att se ut som att allt arbete som gjorts sedan B
aldrig stageats eller commitats.
![](https://maffan.dev/wp-content/uploads/2023/07/image-4-1024x441.png)
git reset --hard B
Få det att se ut som att allt arbete som gjorts sedan B aldrig gjorts
![](https://maffan.dev/wp-content/uploads/2023/07/image-6-1024x441.png)