How do I upload .git folder to Github repo

123 Views Asked by At

I'm using tool called git-filter-repo (https://github.com/newren/git-filter-repo) to rewrite my git history and remove some large binaries in the .pack file and reduce the overall repo size. This makes changes to the local repo, and disconnects a clone from a Github repo.

Now I need to upload the changes in the folder .git to Github. Since it's not content and do not appear as uncommitted changes, 1. How can I upload the changes? The instructions page doesn't describe that scenario.

Several instructions on using Github often describe uploading folders or content. 2. Does this apply to the .git folder?

0

There are 0 best solutions below