Skip to content

Instantly share code, notes, and snippets.

@eslam-mahmoud
Created August 3, 2016 10:36
Show Gist options
  • Save eslam-mahmoud/bfef10371ed7ec7243d97179fd637b6c to your computer and use it in GitHub Desktop.
Save eslam-mahmoud/bfef10371ed7ec7243d97179fd637b6c to your computer and use it in GitHub Desktop.
git: How to ignore all present untracked files?
//If you instead want to permanently ignore currently untracked files you can, from the root of your project, launch:
$ git status --porcelain | grep '^??' | cut -c4- >> .gitignore
@eslam-mahmoud
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment