I don't understand what you mean.  It sounds like you would like to 
clone part of a repo ("a set of files"), work on that partial clone 
locally, and then commit the changes. 

Why don't you want to clone the entire repo? 


It seems, there is no such feature in GIT I would need.

I would like to group some files, so I can list group files together, list 
group changes together, filter by group for staging.
Example files I would like to group together:
theme/header.php
theme/footer.php
theme/body.php
lib/theme.php

They are in different directories, but mostly belongs together, so if I 
group them, then I can work easier with them.
- I could select a file group for staging, so only the changes in the group 
would be added to stage. Changed files in the group:
[group1]/theme/header.php
[group1]/lib/theme.php


- I could list files filtered by a group. Files filtered by [group1]:
[group1]/theme/header.php
[group1]/theme/footer.php
[group1]/theme/body.php
[group1]/lib/theme.php


- I could order file list to list group files first, then directory files.
[group1]/theme/header.php
[group1]/theme/footer.php
[group1]/theme/body.php
[group1]/lib/theme.php
other/files.php



I know, this is something I should suggest to developers.

Until something like this is not implemented, I will have to stick with 
subtrees feature.





2015. június 5., péntek 9:52:25 UTC+2 időpontban Magnus Therning a 
következőt írta:
>
> On 4 June 2015 at 21:08, Konrád Lőrinczi <klor...@gmail.com <javascript:>> 
> wrote: 
> > I would like to select a set of files to work on them, then merge them 
> back to the dev branch. 
>
> I don't understand what you mean.  It sounds like you would like to 
> clone part of a repo ("a set of files"), work on that partial clone 
> locally, and then commit the changes. 
>
> Why don't you want to clone the entire repo? 
>
> > My problem is, that I have two repos, a production one on the live 
> server and a local one on the local development server. 
> > 
> > When I make a diff between them, I see there are too many changes 
> between them. These repos are new, so they have no chance history. 
> > Usually I use Git Extensions and use command line only when feature is 
> missing from Git Extensions. 
>
> Do they not have any common history at all? 
>
> /M 
>
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: mag...@therning.org <javascript:>   jabber: mag...@therning.org 
> <javascript:> 
> twitter: magthe               http://therning.org/magnus 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to