git rm --cached
git revert HEAD --no-edit
git commit --amend
1. git reset --soft HEAD^
2. git checkout develop
1. git revert <hash>
2. git push origin +<branch name>
OR
3. git push <repo name> +<badcommithash>^ : <branch>
git rm --cached
git revert HEAD --no-edit
git commit --amend
1. git reset --soft HEAD^
2. git checkout develop
1. git revert <hash>
2. git push origin +<branch name>
OR
3. git push <repo name> +<badcommithash>^ : <branch>