Answers for "git delete last commit in remote"

3

git remove las remotet commit

git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
Posted by: Guest on March-19-2020
0

git delete last commit in remote

1
$git rebase -i HEAD~2
Posted by: Guest on July-02-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language