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

2014-10-03 Thread Mercier Ivan
Hi, to work the pattern should be on the same line... is it normal?how can I can grep in all lines? I thought --all-match does it!? My test: mkdir test cd test git init echo -e "titi\ntoto" > file1 git add -A git grep -l --all-match -e toto --and --not -e titi gives me file1 echo -e "titi toto"

Re: [git-users] any suggestions for pruning all upstream branches after a github fork?

2014-10-03 Thread Pierre-François CLEMENT
On Friday, 3 October 2014 07:28:48 UTC+2, Sam Roberts wrote: > > On Wed, Oct 1, 2014 at 12:40 AM, Thomas Ferris Nicolaisen > > wrote: > > On Tuesday, September 30, 2014 8:49:11 PM UTC+2, Sam Roberts wrote: > > How about this approach: > > > > (The thing is to avoid GitHub's Fork button, instea

[git-users] submodule : sharing git objects

2014-10-03 Thread Alcolo Alcolo
Because I want to handle a lot of projects with there own life cycle: I project to use git submodules. Each projects/submodules have very a similar contents: then a lot of git objects are identical between submodules. I can see duplications with: find .git/modules/ -type d -name objects | wh

[git-users] Student repository structure

2014-10-03 Thread zamek z
Adja meg a kódot itt... Hi All, I would like to make a git configuration for my students. There are more courses for a students and all student has only one personal repository. The course repositories are read only for students and sometimes changed, all students can download changes to their

[git-users] Re: "Deleted by us" while cherry-picking a gerrit in the same project

2014-10-03 Thread Christopher Latham
Deleted by us doesn't actually mean the file is deleted. It is actually the opposite. You did not have that file, but the cherry-pick contained changes to the file, so it will add the full file but will not "git add $thefile", hence `deleted by us`... meaning deleted from the merge so that you c

[git-users] git mutliple repositories for students

2014-10-03 Thread zamek z
Hi All, I would like to make a git configuration for my students. There are more courses for a students and all student has only one personal repository. The course repositories are read only for students and sometimes changed, all students can download changes to their local repository. I h

[git-users] Git issue or bug list

2014-10-03 Thread garni Khodaverdian
Hi May git have command to list a change you want add to your project in the past Something like bug log Or What is best approach to track changed thing in past Thanks for help -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubs

[git-users] Students repository structure

2014-10-03 Thread zamek z
Hi All, I would like to make a git configuration for my students. There are more courses for a students and all student has only one personal repository. The course repositories are read only for students and sometimes changed, all students can download changes to their local repository. I hav

[git-users] Re: Starting with GIT, need some info

2014-10-03 Thread Artur Gabryś
So I should have two repository, one is on test.domain.com and second is domain.com, right? After I make some changes in code I push this file to test.domain.com and if everything is ok I push them again to the domain.com, yes? How can I push them from my laptop with Win7 on my Debian server?

[git-users] git show text file as binary

2014-10-03 Thread Michael Zigan
I am using Smartgit/Hg to track a project with .ino files. The problem is, 1 file is shown as binary content since some time, I dont know why I place a .gitattributes file with the line " *.ino text " in the project folder, but git still show the file as binary. someone can tell me what is wr

[git-users] git show text as binary

2014-10-03 Thread Michael Zigan
I am using Smartgit/Hg and since some time a text file is shown as "Binary content"... I thought OK, I create a gitattributes file with a line " *.ino text " and place it in the folder where the project is located. (sample.ino is the text file) But it dont work, git show the file still as binar

Re: [git-users] submodule : sharing git objects

2014-10-03 Thread Konstantin Khomoutov
On Fri, 3 Oct 2014 04:53:54 -0700 (PDT) Alcolo Alcolo wrote: > Because I want to handle a lot of projects with there own life cycle: > I project to use git submodules. > > Each projects/submodules have very a similar contents: then a lot of > git objects are identical between submodules. > I can

Re: [git-users] Git issue or bug list

2014-10-03 Thread Konstantin Khomoutov
On Fri, 3 Oct 2014 05:44:21 -0700 (PDT) garni Khodaverdian wrote: > May git have command to list a change you want add to your project in > the past Something like bug log If you mean integrated bug tracker then no, Git does not have one. But you might have an "orphan" (originating from nowher

Re: [git-users] Is it possible to git add a set of files as non-text, irrespective of any .gitattributes files?

2014-10-03 Thread Dale R. Worley
> From: Sam Roberts > > And that after, its removed, even if the user SIGTERMed your command > during the add, before the script got to removing the .gitattributes. One possiblity is to make sure that the temporary files you are concerned with have names that are disjoint from any non-temporary

Re: [git-users] git add --all --no-binaries

2014-10-03 Thread Dale R. Worley
> From: Constantine Tarasenkov > > Wouldn't be cool to have a flag that skips binary files on staging area? > I'm pretty sure Git can detect binary files before the commit. Does someone > knows other ways not including them automatically? The trouble is that "binary" isn't the criterion you wa

[git-users] Re: Git issue or bug list

2014-10-03 Thread garni Khodaverdian
tanks for answer . no git log , i think for me the best way is do it with todos file in seprate branch if git didnt have futcher think tracker On Friday, October 3, 2014 4:14:21 PM UTC+3:30, garni Khodaverdian wrote: > > Hi > May git have command to list a change you want add to your project i

[git-users] Are concurrent fetches and pushes via HTTP supported?

2014-10-03 Thread Fernando Correia
Are concurrent pushes and fetches to the same repository via HTTP supported? I'm facing a situation where multiple users are fetching from and pushing to remote repositories in a server running Apache and git-http-backend (clients and server version 2.1.1). When concurrent pushes and fetches ar

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

2014-10-03 Thread Magnus Therning
On Fri, Oct 03, 2014 at 10:38:18AM +0200, Mercier Ivan wrote: > Hi, > to work the pattern should be on the same line... > is it normal?how can I can grep in all lines? > I thought --all-match does it!? > > > My test: > mkdir test > cd test > git init > echo -e "titi\ntoto" > file1 > git add -A >