Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 19th Sep 2015, 10:01 AM   #1
Warrior Member
 
Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I need some advices with GitHub/Git directory structure
Share on: 
fb share twitter share gplus share more share

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.
Xzahn is offline  
Unread 2nd Oct 2015, 01:08 PM   #2
Technologist
 
Join Date: 2015
Posts: 55
Thanks: 7
Thanked 4 Times in 4 Posts
Default
Re: I need some advices with GitHub/Git directory structure
Share on: 
fb share twitter share gplus share more share

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'.
AboutTown is offline  
Unread 4th Oct 2015, 01:24 PM   #3
Ruby Developer
 
Join Date: 2015
Location: Glasgow, UK
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: I need some advices with GitHub/Git directory structure
Share on: 
fb share twitter share gplus share more share

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
synapticmishap is offline  
Unread 5th Oct 2015, 11:21 AM   #4
Warrior Member
 
Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: I need some advices with GitHub/Git directory structure
Share on: 
fb share twitter share gplus share more share

Originally Posted by AboutTown View Post

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'.
I'm using the command line. That works only on my machine, but I'm often using it working on public computer and I have to clone the whole repo. Even now it takes some time to download everything.

Originally Posted by synapticmishap View Post

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
I cannot understand how it can help, but there you go - https://github.com/Todiros/SoftUni.git

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.
Xzahn is offline  
Closed Thread


Bookmarks

Tags
advices, directory, github or git, structure


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:04 PM.