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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.