Horje
remove last commit from remote Code Example
remove last commit from remote
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
delete last commit from remote repo
git reset HEAD^ --hard
git push <<remote>> -f
git delete last commit in remote
1
$git rebase -i HEAD~2
Source: ncona.com
remove last commit from remote
git push origin +HEAD^:<name of your branch, most likely 'master'>




Shell

Related
bash check arg number Code Example bash check arg number Code Example
how to get mac cpu temp Code Example how to get mac cpu temp Code Example
how to change swap space on ubuntu Code Example how to change swap space on ubuntu Code Example
flush dns linux Code Example flush dns linux Code Example
bash hide command output Code Example bash hide command output Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12