I added a file of 50 MB or so and made g it commit.
it commit
I'm starting to do:
git push origin master
But in the middle I canceled the operation.
I do not want to destroy the entire commit, as there are other files that I want to commit (and have not lost).
Good thing you canceled it.
Delete the giant file.
git add -A git commit --amend -C head git push origin yourbranch
You must be fine.
Step One DO NOT SUBMIT If you clicked, report back after you have done something decisive.
: , ?
- lastcommit: git commit --amend
- : man git-rebase
man git-rebase
: man git-filter-branch, , .git-. , .
man git-filter-branch
: , , . .
:
, :
Git
: Git filter-branch.
filter-branch