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

    The problem is that .gitignore ignores just files that weren't tracked before (by git add). Run git reset name_of_file to unstage the file and keep it. In case you want to also remove the given file from the …

  2. 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?

  3. github - How to use gitignore command in git - Stack Overflow

    Sep 19, 2012 · 20 git ignore is a convention in git. Setting a file by the name of .gitignore will ignore the files in that directory and deeper directories that match the patterns that the file contains. The most …

  4. 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.

  5. When and why do I need to use cin.ignore () in C++?

    Aug 25, 2014 · cin.ignore(256, '\n'); before the line that gets the string input. Adding that fixed the problem and made the program work. My question is why does C++ need this cin.ignore() line and …

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

    146 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 …

  7. Ignore files that have already been committed to a Git repository

    I have an already initialized Git repository that I added a .gitignore file to. How can I refresh the file index so the files I want ignored get ignored?

  8. windows - Gitignore won't ignore .vs folder - Stack Overflow

    Mar 28, 2018 · We've tried all sorts of explicit and wildcard entries in .gitignore however items in the hidden .vs folder as a part of Visual Studio keep getting committed. Since those are individual …

  9. 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 …

  10. .gitignore for Visual Studio Projects and Solutions

    Jan 27, 2010 · Which files should I include in .gitignore when using Git in conjunction with Visual Studio Solutions (.sln) and Projects?