Motivation-and-Behaviour / screentime_biomarkers

Other
1 stars 0 forks source link

.Renviron and targets meta data is currently being tracked despite being ignored. #23

Closed conig closed 6 hours ago

conig commented 1 day ago

https://stackoverflow.com/questions/1274057/how-do-i-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore

image

I think we need to delete the files and folder

To stop tracking a file, we must remove it from the index:

git rm --cached <file>
git rm -r --cached <folder>

Then after pushing this, we should be able to have different variants locally.

Let me know if you have concerns @tarensanders

conig commented 1 day ago

resolved to just leave this uncommitted.

conig commented 1 day ago

git update-index --assume-unchanged <file> will locally ignore even if tracked.