I cloned a repository to my desktop machine using git clone sshurl
. As expected, this created a folder in my desktop.
Now, instead of a single file, I want to push a whole folder into git. For example, the folder that I cloned is named project_iphone
. Now I add another folder called my_project
into project_iphone
. The my_project
folder contains lots of files and folders as well.
My question is, how should I push my_project
folder to the server?
Step-by-step instructions would be helpful.
Thank You.
You can directly go to Web IDE and upload your folder there.
Steps:
In some cases you may not be able to directly upload entire folder containing folders, In such cases, you will have to create directory structure yourself.
Source: Stackoverflow.com