Created
December 15, 2022 12:52
-
-
Save stand-sure/180d7440f6b657fc7472590692c28f5c to your computer and use it in GitHub Desktop.
make .gitignore from untracked
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# NB the result will need cleaned | |
# ADVICE run this from another directory and edit the pathing | |
git ls-files --others --exclude-standard --directory ./YOUR/PATH > .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment