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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -