C
C#2y ago
ogie1985

❔ [Git] How to grab your pushed changes back

Maybe it's not home here but I'm curious how I could grab my pushed changes back because I need to make some cleaner commits
3 Replies
ogie1985
ogie1985OP2y ago
I want to have the changes locally but uncommited/pushed is there a way? nvm i squashed all my changes and a git reset --mixed did the job
Anton
Anton2y ago
you'll have to rewrite remote history you'd do a squash locally and then push force to the remote if you're the only person working on a project it's fine just be sure to pull and discard local changes on other machines that have the old history
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server