Cannot make header be indexed

I have a C project in eclipse (TI code composer dist) and have recently started using egit to commit and push to github.

I recently accidentally right-clicked on a header file and selected ignore instead of what I had mean to select.

  • Checkout SVN svn+ssh repo with subversive in Eclipse Helios
  • Eclipse - Cannot complete the install because one or more required items could not be found (org.apache.httpcomponents.httpclient)
  • Package contains object and package with same name
  • Prevent commiting files to SVN with warnings using eclipse
  • How to include library projects in Android Studio that are stored in a separate git repository?
  • Eclipse incoming synchronization view shows incoming new files as folders
  • However the ignore icon overlay (the little grey x) did not show up on the file, but no other icon overlays did either! Its also is not listed in .gitgnore.

    I cannot seem to get it added back to the git index, have tried add to index by multiple methods, un-tracking and re-tracking, removing the file from the project and re-adding it and so on with no change in the file status

    When I try to commit it is not available to add or stage and does not seem to show up in any view or perspective in any way related to git/egit and it is not shown in github
    The C source file that I created at the same time as this header was added without a mention as did a previous header I created.

    Im quite a noob at git (and version ctrl systems) so am at a loss what might fix this.

  • Error “Detecting Library Folders” in Zend Studio
  • Encoding Issues in Eclipse for Mac and for Windows
  • How to synchronize Eclipse project workspace with Git-BitBucket?
  • Associating existing Eclipse project with existing SVN repository
  • Is it possible to ignore file recreation in git?
  • Understanding Git and how to use EGit (git eclipse plugin)
  • 2 Solutions collect form web for “Cannot make header be indexed”

    Are you sure it’s not listed in a .gitignore file? There can be more than one such file (at every directory level), so make sure you check everywhere.

    In general, I recommend using the Git Staging view for committing and while working with the repository. There you should have seen the modified .gitignore listed after you executed Ignore.

    It is possible, that

    git update-index --no-assume-unchanged your-file

    might help.

    Git Baby is a git and github fan, let's start git clone.