Linked Questions

145 votes
3 answers
109k views

Possible Duplicate: How to purge a huge file from commits history in Git? I did a stupid thing. Imagine that I committed a 100MB file. Then I see this and delete this file and commit again. This ...
Rodrigo's user avatar
  • 12.8k
15 votes
2 answers
13k views

It seems that my initial commit is eating up 90% of the space, since it accidentally got made with quite a lot of media files in it. Is there a way to remove just the first commit from local and ...
kari.patila's user avatar
  • 1,089
9 votes
2 answers
12k views

When I do the following: git add * git commit -m "msg" git push origin develop I get the following errors: Counting objects: 25, done. Delta compression using up to 4 threads. Compressing objects: ...
Simon Sondrup Kristensen's user avatar
1 vote
1 answer
7k views

I have a repository with many big files (psd, exe, pdf, etc.) and every time I commit an update of those files, the git .pack file grow drastically to keep the history. How can I delete all files > ...
zeus's user avatar
  • 13.3k
3 votes
3 answers
11k views

To remove a folder named build from git I use: git rm --cached -r build As I learned from this answer. However, IIUC, the directory remains in the git's database. I tested the matter: Initialised a ...
Guy's user avatar
  • 13.4k
5 votes
1 answer
4k views

I am developing a Java AWT application with Intellij IDE. After I git committed my code, I push to the repository: me@mine-laptop myproject (master)$ git push origin master Enumerating objects: 77, ...
Leem's user avatar
  • 18.5k
1 vote
3 answers
13k views

I have added file >100 Mb to my git repository and it worked in local git. Unfortunately, github has 100 Mb limitation. So, I rewrote code so that it doesn't need this big file, then removed it, then ...
Dims's user avatar
  • 51.8k
6 votes
3 answers
5k views

I added a 150MB video to my projects source files and, unawarely, committed it. I then tried to git push the commit to my remote repo and noticed the the push hung for a while and then eventually ...
David Gaskin's user avatar
3 votes
2 answers
4k views

Long story short, there are very big files (like iso files-big) that were pushed into git. Not during my time with the group, but they've been treating the repo like an SVN-VC. Anywho, how can i ...
Baconbitz's user avatar
  • 159
0 votes
1 answer
5k views

I am running a ReactJS website using webpack and ran a build to push to my production server. However, node_modules was being pushed even through my .gitignore. I cleared the cash, committed and now ...
user3845941's user avatar
0 votes
1 answer
5k views

I'm getting this error when trying to push my project to github. No errors on flutter doctor. code is also building smoothly. I read some similar issues that the .gradle file should be added to ....
john's user avatar
  • 2,014
2 votes
2 answers
2k views

I am trying to push my .git to Github. git push origin master [...] remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error:...
Mornor's user avatar
  • 3,861
-2 votes
1 answer
2k views

We have changed from SVN to GIT ( bitbucket ) a few months ago, now we are recieving a warning that our git repository is becomming to large ( currently at 2.2GB ). However when i check the local size ...
WhyDoYouDie's user avatar
1 vote
3 answers
4k views

Assume, at the 1 February we have Git repository with size 5 MB. After adding some images and committing them to 10 February we receive repo with 15 MB. How to remove this images from repo and ...
Artem Innokentev's user avatar
-1 votes
2 answers
3k views

I was copying some files in my folder and by mistakenly I added 169.57MB zip file and because of not knowing about the zip file I run git command git add . and git commit -m "new feature added&...
user avatar

15 30 50 per page
1
2 3 4 5
24