Let's say a have a repository named the-odin-project
, and inside this repository I have a folder called my-first-rails-app
.
Now, in my computer, I have a folder called local-my-first-rails-app
which contains all the files I need.
I am trying this:
git remote add origin <SSH URL from above>
git push -u origin master
However, it pushes all the files inside the folder into the repository.
How can I push all those files inside the local-my-first-rails-app
(the folder in my comptuer) folder into the folder my-first-rails-app
, which is inside the repository the-odin-project
?