| | #1 |
| Warrior Member Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hi, I'm in programming academy and I decided to upload everything I do there into GitHub. A little practice wouldn't hurt. But I realized that the way I structured the repo might not be the most efficient way. I have a repo for all the stuff from the academy. I have a separate folders for each course and each assignment (homeworks, projects, teamworks, exams). That was the initial idea. The problem is that every time I pull the repo, I pull everything from the academy repo, even though I'm working on only one homework from a specific course. How is the best way to manage it? Maybe, repo for the academy and then new repos for each course? Also when I'm working on local repo, lets say a homework for a course. Every time I start new homework for each course I have to make a new and delete the old repo. |
| |
| | #2 |
| Technologist Join Date: 2015
Posts: 55
Thanks: 7
Thanked 4 Times in 4 Posts
|
How are you synching to github? Are you using the git command line or a software client. You can set git up so that you only synch the latest changes and do not have to pull the whole repository every time. For example when you need to fetch the whole repository you can use 'git clone' if you already have a local repository you can just update the latest changes with 'git pull'.
|
| |
| | #3 |
| Ruby Developer Join Date: 2015 Location: Glasgow, UK
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
Xzahn It's not quite clear exactly what you're trying to do or what structure you've got. It's not really a problem if you need to keep pulling from a remote repo - it just keeps it up to date. It might help to see your repo and the structure and have more information about what your'e trying to achieve exactly. John |
| |
| | #4 | ||
| Warrior Member Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
P.S. Its kind of a mess right now, and I'm going to clean it up once I figure out how to do it properly. | ||
| |
|
| Bookmarks |
| Tags |
| advices, directory, github or git, structure |
| |