Pacific-Design.com

    
Home Index

1. Git

2. Rollback

Git / Rollback /

Rollback Last Published Commit

   

#--- Get Repository

$ git clone git@bitbucket.org:kevinduraj/repo.git

$ cd repo

$ git log



#-- Reset Head to the desirable hash version

$ git reset --hard e779803

$ git commit -m "rolling back to e779803 "

$ git push -f origin