Skip to content

.pdb file too large and .gitignore will not resolve the issue #21405

Answered by airtower-luna
JanHuss asked this question in General
Discussion options

You must be logged in to vote
JanHuss:

After a bit of research, I discovered that .pdb files over 100mb will result in an error when pushed and this can be resolved by ignoring the .pdb in .gitignore.

This is incorrect: .gitignore does not affect files that have already been added. It only prevents you from accidentally adding matching new files, and from seeing them listed as “untracked files” all the time.

JanHuss:

What I am trying to do, is to get the .pdb on .gitignore and remove it from my previous commitment so that I don’t receive this error.

So, what you need to do is edit your commit history to remove the file. Git - Rewriting History describes how to do that in general. There are also some tools for…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants