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

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -