I can't commit. I have deleted some branch in repo to reduce its size but its not decreasing. Anyone who can help me solve this problem and explain the cause so that we can fix it together.
Deleting branches won't do much if large files have been pushed to master/develop for instance. You need to remove them from Git cache and rewrite history.
We did that and repo still showed a high usage even though it was 30MB when checkout out.
Let's call the problematic repo "my-repo". What I did was:
That's it.
Why would you even have a repository that's 4gb ? I would advise you to rethink of what you are keeping there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Caroline R i have created new question like suggested. can you help me solve this problem. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.