[git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Віктор Невідомий
Hello. I have some question about advanced git usage. I ask it on stackoverflow, but receive only one not very extensive answer. I post only link to avoid duplicating question here. http://stackoverflow.com/questions/25991234/git-how-to-make-sharing-directories-instead-of-duplicating/ Please

Re: [git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Konstantin Khomoutov
On Thu, 25 Sep 2014 00:08:24 -0700 (PDT) Віктор Невідомий mnivit...@gmail.com wrote: Hello. I have some question about advanced git usage. I ask it on stackoverflow, but receive only one not very extensive answer. I post only link to avoid duplicating question here.

[git-users] commit with git gui on windows very slow when using with an account i am not logged into windows (hooks ?)

2014-09-25 Thread fbehrens
Hello humans, I have just a litte problem with my windows setup in my company, which is annoying enough to ask for help here. *Setup:* I am using Git-1.9.4-preview20140815.exe and I am running my development environment (Console, Editor) with a user who I am not logged in into windows, but

Re: [git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Віктор Невідомий
you have to turn each of these directories into separate repositories and either use the so-called subtree merging or submodules. I was going to do so. Maybe it was not clear from my scheme in original question. I edited it to clarify. Proj1_2_common/ .git/ ...

Re: [git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Magnus Therning
On Thu, Sep 25, 2014 at 12:50:56PM +0400, Konstantin Khomoutov wrote: On Thu, 25 Sep 2014 00:08:24 -0700 (PDT) Віктор Невідомий mnivit...@gmail.com wrote: Hello. I have some question about advanced git usage. I ask it on stackoverflow, but receive only one not very extensive answer. I

[git-users] git grep find files containaing A AND NOT B (in all lines)

2014-09-25 Thread iv
hi, does anyone know how to grep simply files containing pattern A and not pattern B in all the lines... this doesn't work: git grep -l --all-match -e A --and --not -e B git version 2.1.0 thank you -- You received this message because you are subscribed to the Google Groups Git for human

Re: [git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Konstantin Khomoutov
On Thu, 25 Sep 2014 04:28:16 -0700 (PDT) Віктор Невідомий mnivit...@gmail.com wrote: you have to turn each of these directories into separate repositories and either use the so-called subtree merging or submodules. I was going to do so. Maybe it was not clear from my scheme in original

Re: [git-users] git grep find files containaing A AND NOT B (in all lines)

2014-09-25 Thread Magnus Therning
On Thu, Sep 25, 2014 at 06:38:49AM -0700, iv wrote: hi, does anyone know how to grep simply files containing pattern A and not pattern B in all the lines... this doesn't work: git grep -l --all-match -e A --and --not -e B git version 2.1.0 That seems to work fine for me on 2.1.1. I'm

Re: [git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Віктор Невідомий
Very good explanation. It clarifies something. I read some comments about using subtree vs submodules. In most places people give a bad score to submodules. Четвер, 25 вересня 2014 р. 17:05:21 UTC+3 користувач Konstantin Khomoutov написав: On Thu, 25 Sep 2014 04:28:16 -0700 (PDT) Віктор

Re: [git-users] git grep find files containaing A AND NOT B (in all lines)

2014-09-25 Thread iv
git grep -l --all-match -e A --and --not -e B gives me files containing A and containing B or not ... Le jeudi 25 septembre 2014 16:44:33 UTC+2, iv a écrit : of course, -l gives you name only... Le jeudi 25 septembre 2014 16:11:34 UTC+2, Magnus Therning a écrit : On Thu, Sep 25, 2014 at

Re: [git-users] How to make sharing directories instead of duplicating?

2014-09-25 Thread Konstantin Khomoutov
On Thu, 25 Sep 2014 07:54:39 -0700 (PDT) Віктор Невідомий mnivit...@gmail.com wrote: Very good explanation. It clarifies something. I read some comments about using subtree vs submodules. In most places people give a bad score to submodules. I dunno. Both are well supported, and IMO