Moving the source directory to GitHub

I created the original GitHub repository and passed all my code. I would like to move this directory to a new directory (not to the root directory of the repo). I'm a little confused how to handle this (via Git Help and topics here).

I'm a bit of a github / terminal newb :-)

This is what I am trying to do:

Projects → github_project

Projects → Catalog → github_project

thank!

+3
source share
1 answer
  • Create a new directory in your repo root.
  • Move all other files to this directory (using git mv).
  • Click on GitHub.

Refresh to edit the edited question

If you just want to put it in a new directory, create a new directory and move the repository there.

+3
source

All Articles