git - How to get a specific directory structure when pushing an Eclipse project to github? -


so have created project before in eclipse , pushed github repository set up. problem used project directory root directory of repository. not way else sets repositories , don't want setup mine either.

here happening:

github repository 1

  • projectname
    • src
    • test
    • .project
    • readme.md

and here want:

github repository 1

  • src
  • test
  • .project
  • readme.md

i using eclipse git plugin, don't see anyway of specifying want use second directory structure. know how achieve in eclipse? thanks!

not automatically eclipse. can:

  1. push way have there.
  2. do clone @ command level.
  3. use git mv eliminate level.
  4. push results.
  5. point eclipse @ structure, happy, via 'import existing project'.

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -