About 50 results
Open links in new tab
  1. gitignore - How to ignore certain files in Git - Stack Overflow

    To ignore a file; name_of_file We don't need to provide the complete path of the file or directory to be ignored; we just have to provide its name. If you want to ignore all files with same extension; *.pyc …

  2. How do .gitignore exclusion rules actually work? - Stack Overflow

    Feb 18, 2013 · 5 On a more general note, git1.8.2 will include the patch (also in its v4, prompted by some Stack Overflow question) from Adam Spiers about determining which gitignore rule actually …

  3. How do you disable the unused variable warnings coming out of GCC …

    The -Wno-unused-variable switch usually does the trick. However, that is a very useful warning indeed if you care about these things in your project. It becomes annoying when GCC starts to warn you …

  4. Ignore specific rules in specific directory with Ruff

    Dec 18, 2023 · You can use Ruff's per-file-ignores and specify individual files, or select a directory tree with a wildcard (star). You can ignore a "letter class" by specifying only the letter. Example: Ignore …

  5. git - How to .gitignore all files/folder in a folder, but not the ...

    The * line tells git to ignore all files in the folder, but !.gitignore tells git to still include the .gitignore file. This way, your local repository and any other clones of the repository all get both the empty folder …

  6. git - How to create a .gitignore file - Stack Overflow

    I need to add some rules to my .gitignore file. However, I can't find it in my project folder. Isn't it created automatically by Xcode? If not, what command allows me to create one?

  7. How to ignore files/directories in TFS for avoiding them to go to ...

    Is it possible to set up files/folders to ignore on a per-project basis in TFS source control? For example, I've a website with an assets folder that I do not want to go in to source control. These

  8. Make .gitignore ignore everything except a few files

    Jun 12, 2009 · To ignore some files in a directory, you have to do this in the correct order: For example, ignore everything in folder "application" except index.php and folder "config" pay attention to the order.

  9. How can I Git ignore subfolders / subdirectories? - Stack Overflow

    145 All the previous answers are valid, but something that I don't think is mentioned is that once you add a file from that directory into the repository, you can't ignore that directory/subdirectory that contains …

  10. ignore - Git command to show which specific files are ignored by ...

    My issue is that I have my .gitignore set to ignore *.dll and *.pdb. I can do a git add -f bar.dll to force the addition of the ignored file which is ok, the problem is I can not figure out to list what files exist that …