There is a repository on gitHub there are already files in it. How to add another project to the same repository in a separate folder for example. I already zakomitil but how to add to the existing repository without creating a new one I can not figure out

  • one
    One project - one repository. 1. Use git submodules or 2. copy this project to "parent", and in the parent make a commit and then push. - Total Pusher
  • Please specify, do you want to create an additional folder via GitHub directly, or via Git console? - Uri Shlomy pm

1 answer 1

  • Clone yourself this repository
  • copy the folder with another repository to this
  • do git add -A
  • git commit -a -m "message"
  • git push