Recover lost commits from git push –force
Today I learned how to retrieve accidentally lost commits pushed to remote (via –force). I accidentally overwrote a co-worker’s committed changes and my own revisions on his branch using git push –force origin/branch! I freaked out at first realizing how… Read More »Recover lost commits from git push –force