Dear all, I have a WARNING, caused by the file larger than 5 MB:
[Bioc-devel] Large file problem in git
3 messages · Cuklina Jelena, Hervé Pagès, Turaga, Nitesh
Hi Jelena, The .Rproj.user/ folder and the .git/ folder are 2 different things. Not sure exactly which one is causing you problem but they shouldn't. The .Rproj.user/ folder is an RStudio thing that should not be added to git so make sure it's listed in your .gitignore file. The .git folder is a place where the git client stores information about your local git clone. What is stored there is really git internal business and you should never touch or try to alter the content of this folder. Note that there is no need to list this one on your .gitignore file because the git client already knows about this folder and will ignore it. Nothing in this folder will ever get staged, committed, or pushed so having files larger than 5MB there should not be an issue. H.
On 9/30/19 07:35, Cuklina Jelena wrote:
Dear all,
I have a WARNING, caused by the file larger than 5 MB:
From the file name,
.Rproj.user/4185876F/ctx/ctx-17050/environment
.git/objects/pack/pack-88dfd7e4c8ad695717e8d77594e9c340fabcc39f.pack
it looks like it?s an R project environment file which was out of gitignore at some point, so should be safe to get rid of it. I have quite limited experience with git to judge that fully, so I have two questions:
1) How do I make sure nothing valuable is in this pack?
2) How do I remove it safely?
Best regards,
Jelena.
[[alternative HTML version deleted]]
_______________________________________________ Bioc-devel at r-project.org mailing list https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwIGaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=V8sRletkOxpgakacSWr3_gWgGBFN_uoociRf-EQwOI4&s=DQsva-NURI04uxAPZlf1hU-5gOnuV-HxfUdYk60APc4&e=
Herv? Pag?s Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B514 P.O. Box 19024 Seattle, WA 98109-1024 E-mail: hpages at fredhutch.org Phone: (206) 667-5791 Fax: (206) 667-1319
Try BFG cleaner https://rtyley.github.io/bfg-repo-cleaner/ But I agree with what Herve says. You may use this on your own github repo if you'd like. But leaving it as is, is a good option. ?On 9/30/19, 10:57 PM, "Bioc-devel on behalf of Pages, Herve" <bioc-devel-bounces at r-project.org on behalf of hpages at fredhutch.org> wrote: Hi Jelena, The .Rproj.user/ folder and the .git/ folder are 2 different things. Not sure exactly which one is causing you problem but they shouldn't. The .Rproj.user/ folder is an RStudio thing that should not be added to git so make sure it's listed in your .gitignore file. The .git folder is a place where the git client stores information about your local git clone. What is stored there is really git internal business and you should never touch or try to alter the content of this folder. Note that there is no need to list this one on your .gitignore file because the git client already knows about this folder and will ignore it. Nothing in this folder will ever get staged, committed, or pushed so having files larger than 5MB there should not be an issue. H.
On 9/30/19 07:35, Cuklina Jelena wrote:
> Dear all,
>
> I have a WARNING, caused by the file larger than 5 MB:
>
> From the file name,
> .Rproj.user/4185876F/ctx/ctx-17050/environment
> .git/objects/pack/pack-88dfd7e4c8ad695717e8d77594e9c340fabcc39f.pack
>
> it looks like it?s an R project environment file which was out of gitignore at some point, so should be safe to get rid of it. I have quite limited experience with git to judge that fully, so I have two questions:
> 1) How do I make sure nothing valuable is in this pack?
> 2) How do I remove it safely?
>
> Best regards,
> Jelena.
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwIGaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=V8sRletkOxpgakacSWr3_gWgGBFN_uoociRf-EQwOI4&s=DQsva-NURI04uxAPZlf1hU-5gOnuV-HxfUdYk60APc4&e=
>
--
Herv? Pag?s
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpages at fredhutch.org
Phone: (206) 667-5791
Fax: (206) 667-1319
_______________________________________________
Bioc-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel
This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.