[git-users] Re: Commits only from specific branch

2012-07-24 Thread Thomas Ferris Nicolaisen
BUT (there is always some), when i decide to clone Project i get newProject where is again submodule with all commits (not only master branch specific). Well, that's odd. I would think that when you clone submoduleX.git, it only brings in the commits that exist on the remote side. Can

[git-users] Re: Commits only from specific branch

2012-07-16 Thread Nedvajz
Do you understand what i mean? Is there any solution, or not? Thanks for reply;) On Friday, 29 June 2012 16:13:09 UTC+2, Nedvajz wrote: Hi, is there a way, how to pull/clone (somehow) only commits of one, and only one branch? For example: 1) Lets say i have 3 branches in one submodule.

[git-users] Re: Commits only from specific branch

2012-07-16 Thread Thomas Ferris Nicolaisen
Hi, sorry for not replying any more. I managed to lose track of this thread. I'm afraid I still don't quite understand, although I didn't have quite the time to read properly through your explanation. There are still a lot of confusing terms in there that don't fit with my typical Git

[git-users] Re: Commits only from specific branch

2012-07-16 Thread Nedvajz
The link you posted is almost what i want. So this i my last try of explain what i am looking for: 1) I want to *clone* only part of some repository and made new one. This new repo will have only master branch even if the origin has more branches. This new repo will have only commits of the

[git-users] Re: Commits only from specific branch

2012-07-02 Thread Nedvajz
Yes partly. I wanna to get via git submodule add http://example.com/submodulex.git; only data (commits files) of master branch and avoid of downloading any other commits of other branches. But I dont want to lose ability to update master branch with new commits. And in best way dont lose the

[git-users] Re: Commits only from specific branch

2012-06-30 Thread Thomas Ferris Nicolaisen
Hi, Could you try explaining in simpler terms what you are trying to do? My first guess is that you have a big repository with three branches, and you want to split it into three repositories, one for each branch. Is that correct? On Friday, June 29, 2012 4:13:09 PM UTC+2, Nedvajz wrote: