$ git branch -d feature/blah
$ git branch -d -r origin/feature/blah
$ git push origin :feature/blah
$ git push origin :feature/blah
$ git push origin :b55bc88
$ git push --force -u origin feature/blah
$ git fetch origin
$ git branch my-saved-branch
# this example is for develop branch
# make sure you are have develop checked out locally first, then...
$ git reset --hard origin/develop
Checkout the feature branch that needs rebasing:
$ git checkout feature/blah
Then rebase onto develop
:
$ git rebase develop
Then force upstream feature branch to match local one:
$ git checkout develop
$ git push --force -u origin feature/blah
$ git checkout -b feature/blah --track origin/feature/blah
$ git submodule update --init
$ git cat-file -p commit:file-spec
$ git log --follow -- filename