-
Notifications
You must be signed in to change notification settings - Fork 83
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
Ignore unwanted files and directories #163
base: master
Are you sure you want to change the base?
Conversation
Ignore OS, Editor and Program specific files and directories. close #149 Ignore OSes - windows - linux - osx Ignore Editors - webstorm - komodoedit - eclipse - emacs - slickedit - notepadpp - netbeans - kate - cloud9 - anjuta - dreamweaver - textmate - espresso - visualstudio - visualstudiocode - vim - sublimetext Ignore Programs - vagrant - tortoisegit - node GitIgnore.io API URL: https://www.gitignore.io/api/windows,linux,osx,webstorm,komodoedit,eclipse,emacs,slickedit,notepadpp,netbeans,kate,cloud9,anjuta,dreamweaver,textmate,espresso,visualstudio,visualstudiocode,vim,sublimetext,vagrant,tortoisegit,node
@dcsan Don't merge now. Issue due to two |
I've added the following in the
but it ignores List of ignored files:
Reference: https://git-scm.com/docs/gitignore |
thats probably because that file was already in git. you have to remove it, On Thu, Aug 20, 2015 at 3:27 PM, Abhisek Pattnaik notifications@github.com
David 'DC' Collier http://jp.linkedin.com/in/dcsan/ |
@dcsan updated the previous message. How do I make it not ignore and track? Any suggestions? |
ugh, git makes this such a mess. I think: (make a copy of the file somewhere) delete the file and commit that status then ignore /dc On Thu, Aug 20, 2015 at 3:56 PM, Abhisek Pattnaik notifications@github.com
David 'DC' Collier http://jp.linkedin.com/in/dcsan/ |
@dcsan (unrelated to above issue) shouldn't the |
@dcsan
instead of
According to https://git-scm.com/docs/gitignore#_pattern_format
|
@dcsan I guess this file
|
List of files to be ignored and ready for deletion by executing the following command git ls-files --ignored --exclude-standard | egrep --invert-match 'data/wiki/' | less But executing the following command for deleting those files, git ls-files --ignored --exclude-standard | xargs git rm it deletes only some files from the and when I execute the following command, git ls-files --ignored --exclude-standard | xargs -0 git rm it shows an error: How to delete ignored files from working tree and repo? |
you can just delete the dir if the arg list is too long... On Thu, Aug 20, 2015 at 5:45 PM, Abhisek Pattnaik notifications@github.com
David 'DC' Collier http://jp.linkedin.com/in/dcsan/ |
@dcsan What if it breaks logging code due to non-existent directory file creation? Is there any way to pass the argument list in a streamline way? |
yeah thats the whole point, the directory has to exist or the app will check the contents of the README On Thu, Aug 20, 2015 at 5:58 PM, Abhisek Pattnaik notifications@github.com
David 'DC' Collier http://jp.linkedin.com/in/dcsan/ |
@dcsan please read all the messages posted in the issues in the issues page.
|
OK i've scanned the issue and spent a lot of time on it already. i prefer to be productive and not waste hours on how the files are laid out. if you want to do git ignores please do, but it was working fine before. what is the benefit of spending all this time on this issue? it seems like you screwed up with git and so i helped you fix it. |
@dcsan thanks for all the help. #164 What about this? #163 (comment) |
i dont know what that file is. seems like a random logfile, so you could delete it i guess. |
@dcsan you can freely merge this now. |
@dcsan good to go now. 👍 |
closes #149 and closes #159