Git: Reset to older commit / Undo changes & Push

This article shows how you can reset your git state to any older/previous commit and then push to your origin repository. Reset to older commit git reset –hard <commit-hash> Example: git reset –hard 39fdf70 Force push to origin repository git push origin –force # OR git push –force If you only want to reset in … Read more

Git: HEAD, Detached HEAD & Reset HEAD

What is Git HEAD? “HEAD” is an alias for your current working commit. It’s the latest commit of your currently checked out branch. If you checkout a another branch then HEAD will be the latest commit in that particular branch. Check Git HEAD status The following shows that the working directory is the tip of … Read more

How to Reset Google Apps Admin password?

Scenario: You have set up google apps for your domain. Let the link be:- https://www.google.com/a/domain.com/ Now, you forgot the admin password. Solution: – Go to https://www.google.com/a/domain.com/ForgotAdminAccountInfo – Submit the Captcha. – The password reset instruction will be sent to the secondary email which you kept while creating the google app for your site. That’s all. … Read more