github remove push code example
Example 1: remove branch local git
$ git branch -d branch_name
$ git branch -D branch_name
Example 2: git delete last commit in remote
1
$git rebase -i HEAD~2
Example 3: git delete last commit in remote
$git rebase -i HEAD~2
Example 4: remove branch local git
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>