version control - Git: Uncommit without effecting changes -


i have made few commits branch , pushed remote. want make them single commit. how uncommit previous few commits in branch without effecting files?

if had not pushed commits remote branch, have used e.g. git rebase -i squash commits one. see how can merge 2 commits one?

but commits pushed, there no proper way instead of overwriting history, bad idea if others have pulled changes.

if can it, use git rebase described above , see force "git push" overwrite remote files .


Comments

Popular posts from this blog

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

matplotlib - PYTHON: Annotate boxes disapear dependant on range -