Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git add untracked files to ignore

git status --porcelain | grep '^??' | cut -c4- >> .gitignore
 
PREVIOUS NEXT
Tagged: #git #add #untracked #files #ignore
ADD COMMENT
Topic
Name
5+6 =