[Bioc-devel] Large file problem in git
Pages, Herve
hp@ge@ @end|ng |rom |redhutch@org
Mon Sep 30 19:26:32 CEST 2019
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 using 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 using fredhutch.org
Phone: (206) 667-5791
Fax: (206) 667-1319
More information about the Bioc-devel
mailing list