-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fileman_folders() should update (or create) .gitignore if root = "git" #75
Comments
Fine idea @hansvancalster , you're welcome to add something like that! Don't know whether it's even necessary to add the exception for Personally I find it most convenient when all ignored stuff is in one
If you like to do deeper checks for existing ignored files, have a look here. Maybe |
@hansvancalster: the implementation of @ThierryO to use |
I would like to mention that > Error: No root directory found in <path> or its parent directories. Root criterion: contains a file matching "[.]Rproj$" with contents matching "^Version: " in the first line I would expect the function to have a fallback (instead of adding an rproj, which seems debatable). This is a bonus. I can just make an Rproj file. But I thought it "low hanging fruit" if we implement checking for a git repo anyways. Cheers, Falk
|
That's definitely not OK, thanks for reporting. The functions should not be bound by IDE specifics. Can you make this into a separate issue @falkmielke? I've narrowed the subject of current issue to better reflect the initial idea. |
Would be useful for this function to write a .gitignore file when
root = "git"
. to then2khab_data
folder.The contents of the
.gitignore
should beThe text was updated successfully, but these errors were encountered: