1

The information on the commits on GitHub says there are thousands of additions and deletions in files such as metadata even though the metadata is in the gitignore file. This is how looks like my gitignore file:

.metadata

bin/

tmp/

*.tmp

*.bak

*.swp

*~.nib

local.properties

.settings/

.loadpath

.recommenders

.springBeans

weston
  • 54,145
  • 21
  • 145
  • 203
neca
  • 119
  • 1
  • 10
  • Possible duplicate of [How to make Git "forget" about a file that was tracked but is now in .gitignore?](https://stackoverflow.com/questions/1274057/how-to-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore) – phd Nov 21 '18 at 12:17

1 Answers1

1

You probably added certain files to .gitignore after they had already been tracked by git. If this is the case, you need to tell git to untrack the file:

git rm --cached <file>
Johnny Beltran
  • 701
  • 2
  • 8
  • 22