0

I have the structure of the project: structure

when i created repository on github and went step by step to push project. every file pushed normally except the folder src repositrory

what should i do?

andron
  • 24
  • 1
  • 11
  • Huh? The icon shows it has nested directories. Just click on it. – Michael Jun 22 '17 at 08:33
  • Presumably you cannot click on it to see what's inside. This has happened to me before when I have accidentally committed a folder which is a git repo inside of my repo. If this is the case and it's a mistake you may be able to just remove the `.git/` directory inside the `src` folder as the contents will become part of the main repo anyway, or if not have a look here: https://stackoverflow.com/questions/1811730/how-do-i-work-with-a-git-repository-within-another-repository. – roryrjb Jun 22 '17 at 08:38
  • @Michael i clicked and nothing happened. there is even no references – andron Jun 22 '17 at 08:39
  • @roryrjb it didnt help:( – andron Jun 22 '17 at 09:16
  • 1
    The icon indicates that it is a submodule. – jbialobr Jun 22 '17 at 09:34
  • See if it is coming in the un-tracked files while running 'git status'. if yes then add the files in src separately and commit. – Anoop Toffy Jun 22 '17 at 09:51
  • @jbialobr but it is not a submodule, how to correct it? – andron Jun 22 '17 at 10:42
  • What does the following command return? `git submodule status` – jbialobr Jun 22 '17 at 10:49
  • @jbialobr fatal: no submodule mapping found in .gitmodules for path 'src' – andron Jun 22 '17 at 11:00
  • Check .gitignore file, by mistake you added src in that file – ntshetty Jun 22 '17 at 11:07
  • 1
    @ThiruShetty no, it contains: /target/ /build/ – andron Jun 22 '17 at 11:12

0 Answers0