rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
11.18k stars 549 forks source link

error: failed to push some refs to 'https://github.com/Adnansamiuu/Ecommerce-ful-project.git' #343

Open Adnansamiuu opened 5 years ago

sdegueldre commented 4 years ago

When you use BFG, you change your commit history, and it will no longer be compatible with the remote repository. You need to push with the --force flag to overwrite the remote repository.

Please note that force-pushing is an irreversible operation, make sure the local version of your repository is what you want to keep!

gnanakeethan commented 4 years ago

BFG also removes any sort of GPG Signatures you have placed on your commits. Unsure whether it should be done.

xuyihan-china commented 4 years ago

how to do it??

nnk-maker commented 3 years ago

Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules) modified: reqdis/webapp (modified content, untracked content) modified: web_app (modified content, untracked content) modified: webapp_cookie (modified content, untracked content)

no changes added to commit (use "git add" and/or "git commit -a") after commiting . I am seeing this int my git. I am unable to open my folders in git

image