The reason is that, I want to create a single nice repository named "Stanford CS193P Homeworks" as a main repo (Just like a folder, which is nice to see in Github to present my code) under which i want to add all the homework 1, homework 2, etc.,
When i tried that i was unable to see the pushed repository,
You can see that the folder icon marked as grey in the image below,
https://www.dropbox.com/s/5irwj0xo7jpzw0f/Git.png
Each of those are individual git repos created in XCode 5.
Is it possible ? if so how do i enable it. ?
Why not create a single repo, with a directory intended for each homework assignment?
so when someone does a clone
, they get this:
Just copy the contents from each of your homework repos into a folder, and move them to a new repo.
Or, you could try using git submodules. I've never used them myself, but they seem to do what you're trying to do:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.