Skip to main content
14 events
when toggle format what by license comment
Jun 19 at 0:35 comment added Albert Ruelan There are several answers here with almost identical answer. There are people that tend to look at the newer answers rather than answers from practically 13 years ago. I can also pinpoint you to answers that is identical to mine if you'd like, Which is btw recent so you can grace them with your comment LMAO
Jun 18 at 21:05 comment added Dan Dascalescu The git reset --soft answer was already given in 2011. What does your answer add to it?
Jun 18 at 21:04 comment added Dan Dascalescu What's the point of linking to BitBucket?
Feb 16, 2021 at 8:05 review Suggested edits
Feb 16, 2021 at 10:14
Aug 31, 2020 at 10:26 comment added Osama Shabrez Force is destructive. This is not squashing commits rather removing the last three commits and adding them back as a fourth (now new) commit, essentially rewriting the history which can break the repo for other users until they also force pull. This will also remove any other commits your team has pushed meanwhile.
S Jul 27, 2020 at 19:15 history suggested Ivan Kaloyanov CC BY-SA 4.0
Fixed the typos
Jul 27, 2020 at 18:14 review Suggested edits
S Jul 27, 2020 at 19:15
Jul 3, 2020 at 6:53 comment added B. Bohdan Nice and quick solution, as for me.
S Jun 9, 2020 at 23:58 history suggested Wolfson CC BY-SA 4.0
add code formating and remove unused &&
Jun 9, 2020 at 12:25 review Suggested edits
S Jun 9, 2020 at 23:58
Jul 3, 2019 at 0:28 comment added Albert Ruelan Just be careful, Since if you use force then there is no way to retrieve the previous commits since you removed it
Jun 4, 2019 at 2:03 history edited Albert Ruelan CC BY-SA 4.0
added 7 characters in body
May 16, 2019 at 8:10 review Late answers
May 16, 2019 at 8:16
May 16, 2019 at 7:55 history answered Albert Ruelan CC BY-SA 4.0