I'm building a portfolio of code examples. I don't want to put them in separate repositories. I want one repository with a folder called examples and put all the small projects in that folder. I created a repo on Github. And I've pushed the first code example there successfully. I then created a folder(called Examples) on Github (with a dummy file inside the folder)where I want to place my code examples.. How do I put the project in to the Examples folder?
Asked
Active
Viewed 26 times
0
-
Please show us the Git commands you used to try to push. If you did this from the Android Studio plugin, then tell us how you configured that plugin, and what steps you took. – Tim Biegeleisen Sep 03 '18 at 13:38
-
possible duplicate of https://stackoverflow.com/questions/2425059/how-to-pull-specific-directory-with-git – AutoTester213 Sep 03 '18 at 13:40
-
1If you created the folder with a dummy file on GitHub, you need to pull the repo so that you have a local working copy, add your code examples to the folder in your working copy, commit the changes, and then push. – asherber Sep 03 '18 at 14:05