Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Add a folder to a repository

I have an existing empty repository with calculator name on GitHub and I want to add a folder to it in my PC. How can I add it. I need a step by step command guide.

I know I must use git clone and add and.. but don’t know the order and the exact command

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

git init

git clone NameOfTheRepository
you can add your folder by this command to a specific repository

git add NameOfAllFolders

git branch -M master
this is a branch that already exists in your repository and you can add your changes to it for starter.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading