git - Will pushing an old commit overwrite more recent already pushed commits? -


hi there,

i don't know if title clear enough... have made commit few days ago , forgot push it. since then, have made other commits , pushed them. now, want push old commit afraid overwrite recent commits.

i mean, let's say, in old commit, have modified method 'mymethod:'. in other commit modified method again, , that's version want keep. happen if push first commit ? method "reset" ?

push transfer commits (that happened since last push/pull operation), in proper sequence, other repository, nothing overwritten.


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 -