0

given problem: list all the existing files ignored by your Git repository to an .sh file

stuck at: how to remove the "would remove part so I can move them to .sh file

My solution:

when I input:

git clean -n

I get:

Would remove .DS_Store

Would remove ex02/.DS_Store
pushkin
  • 9,575
  • 15
  • 51
  • 95
mertajvaz
  • 71
  • 1
  • 1
  • 4
  • Possible duplicate of [Git command to show which specific files are ignored by .gitignore](https://stackoverflow.com/questions/466764/git-command-to-show-which-specific-files-are-ignored-by-gitignore) – phd Feb 05 '19 at 21:10
  • https://stackoverflow.com/search?q=%5Bgit%5D+list+ignored+files – phd Feb 05 '19 at 21:10

0 Answers0