[git-users] help me about the branch creation time

2015-09-11 Thread lei yang
Hi experts I want to know the branch creation time, any help ( I don't have master branch) Lei -- 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-user

[git-users] Test

2015-09-10 Thread lei yang
-- 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.

[git-users] how to --since and --until get the expected git log

2015-04-20 Thread lei yang
lyang001@lyang001-OptiPlex-9010:~/stats/gitstats$ git log --pretty=format:'%ad %an' --date=short --since='2013-1-25' --until='2013-11-03' 2013-09-22 Alexander Strasser 2013-07-29 Heikki Hokkanen 2012-12-16 Andrey Devyatkin 2013-07-26 Heikki Hokkanen 2013-07-23 Heikki Hokkanen 2013-07-23 Stephen Gor

[git-users] two tree alias ?

2014-07-01 Thread lei yang
Hi expert, I have two tree git://xx-git.ws.com/git/layers/A (nothing contains,just init) git://xx-git.ws.com/git/layers/B (lots of content) for now I want to realize this, when I clone A,it actually clone B? can we create a alias? Lei -- You received this message because you are subscribed t

Re: [git-users] I don't know how to from rej file to adjust the source

2014-05-17 Thread lei yang
.net> wrote: > On Fri, 16 May 2014 17:21:10 +0800 > lei yang wrote: > > > #cat recipes-devtools/python/python-heat_git.bb.rej > > diff > > > a/meta-openstack/recipes-devtools/python/python-heat_git.bbb/meta-openstack/recipes-devtools/python/ > > python-

[git-users] I don't know how to from rej file to adjust the source

2014-05-16 Thread lei yang
#cat recipes-devtools/python/python-heat_git.bb.rej diff a/meta-openstack/recipes-devtools/python/python-heat_git.bbb/meta-openstack/recipes-devtools/python/ python-heat_git.bb(rejected hunks) @@ -10,6 +10,9 @@ SRCNAME = "heat" SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stabl

[git-users] Re: Is there a way to know when the commit has been in the git server

2013-10-27 Thread lei yang
I mean the real check-in time Lei On Mon, Oct 28, 2013 at 11:18 AM, lei yang wrote: > Hi expert, > > I know form the "git log" we can now the commit time, but how to know when > it is in the remote > git server > > Lei > > -- You received this mess

[git-users] Is there a way to know when the commit has been in the git server

2013-10-27 Thread lei yang
Hi expert, I know form the "git log" we can now the commit time, but how to know when it is in the remote git server Lei -- 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,

Re: [git-users] Is there a place record when I run "git pull" the last time

2013-10-15 Thread lei yang
as more precisions: > > http://stackoverflow.com/questions/2993902/how-do-i-check-the-date-and-time-of-the-latest-git-pull-that-was-executed > > On 15 October 2013 10:24, lei yang wrote: > > Hi experts > > > > Is there a place record when I run "git pull" the la

[git-users] Is there a place record when I run "git pull" the last time

2013-10-15 Thread lei yang
Hi experts Is there a place record when I run "git pull" the last time Lei -- 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...@google

[git-users] [git-user] how to know the two commit is the same

2013-06-08 Thread lei yang
Hi expert, I have two commit in different branch, the commit-id is different, but and the content is the same, is there a method to prove it's the same use one-liner Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe fr

[git-users] Re: list all the branch that contains commit title is "xxxx yyyy"

2013-06-05 Thread lei yang
any help ? On Tue, Jun 4, 2013 at 11:24 AM, lei yang wrote: > list all the branch that contains commit title is " " note: the > commit-id is not the same though > the commit content is the same in different branch > -- You received this message because you are su

[git-users] list all the branch that contains commit title is "xxxx yyyy"

2013-06-03 Thread lei yang
list all the branch that contains commit title is " " note: the commit-id is not the same though the commit content is the same in different branch -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group an

[git-users] compare the two branch and only output the content with the "changed files"

2013-05-25 Thread lei yang
Hi experts, I know we can use git log branch1 branch2 --name-status to get the changed file plus the commit message but if I only want to get the changed files, how could i do Thanks Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" grou

Re: [git-users] recover from hard reset

2013-04-28 Thread Lei Yang
ft (only > reset HEAD). > > Note if you did some work between the > > git commit local_commit^ > > and the > > git reset --hard > > then you can't recover those changes at all. git did not track them > and so they are GONE and totally unrecoverable.

[git-users] recover from hard reset

2013-04-28 Thread lei yang
Hi experts I commit a change to my local git repos, but I did a git hard --reset local_commit^, and then my local changes disappeared, how could I recover my local changes ? Thanks Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To

[git-users] Fwd: question about patchwork

2013-04-09 Thread lei yang
Found the answer: click the "patches", and click "Filters" to search "trace-cmd" to get patchworks' patch, we can download tools "pwclient" to get the patch after clicking "project info" Lei On Tue, Apr 9, 2013 at 11:06 AM, lei yang wr

[git-users] question about patchwork

2013-04-08 Thread lei yang
Hi expert, I have a question about find the patch from patchwork for example,from google I get https://patchwork.kernel.org/patch/1360421/ but how could I get [2/5] [3/5] any tips Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" g

Re: [git-users] git bare clone and pull to latest one

2013-03-25 Thread lei yang
On Tue, Mar 26, 2013 at 1:14 AM, Konstantin Khomoutov < flatw...@users.sourceforge.net> wrote: > On Tue, 26 Mar 2013 00:12:23 +0800 > lei yang wrote: > > > I git bare clone linux tree with > > git clone git:// > > git.kernel.org/pub/scm/linux/kernel/git/rt/linu

[git-users] git bare clone and pull to latest one

2013-03-25 Thread lei yang
Hi I git bare clone linux tree with git clone git:// git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git then I can git clone /home/lyang001/trees/linux-stable-rt/inux-stable-rt to get it my question if linux-stable-rt.git updates, how could I sync it to the latest, git pull in the b

Re: [git-users] How to edit commit messages

2013-03-24 Thread lei yang
On Sun, Mar 24, 2013 at 9:22 PM, Surya wrote: > The open source community in which I am contributing has certain standards > on writing commit messages I didn't knew earlier. > > They want me to edit commit message according to standards.. So, how to > edit commit messages? > > git commit --amen

[git-users] commit ee50e135aeb048b90fab662e661c58b67341830b upstream, how is the message produced

2013-03-22 Thread lei yang
Hi experts, I don't know how the upstream info produced, it seems not get with "git cherry-pick -x " can you point me commit 83829ab554f01ee5fcef4880b0a90cc14350b936 Author: Olivier Sobrie Date: Fri Jan 18 09:32:41 2013 +0100 can: pch_can: fix invalid error codes commit ee50e135aeb0

Re: [git-users] Re: question: how to know from a commit id to know it's merged by which commit id

2013-03-21 Thread lei yang
On Wed, Mar 20, 2013 at 7:55 PM, Thomas Ferris Nicolaisen wrote: > On Wednesday, March 20, 2013 11:34:50 AM UTC+1, lei yang wrote: > >> Hi experts >> >> I think I should have asked this question, but I can't find it know the >> question is >> >> I ha

Re: [git-users] help, why the same commit in one branch

2013-03-21 Thread lei yang
On Thu, Mar 21, 2013 at 9:40 PM, Dale R. Worley wrote: > > From: lei yang > > > > The have the same contents. > > Meaning that the older commit causes significant changes to the files > and the newer commit causes no changes to the files. So someone made > a seco

Re: [git-users] help, why the same commit in one branch

2013-03-21 Thread lei yang
On Thu, Mar 21, 2013 at 1:47 AM, Dale R. Worley wrote: > > From: lei yang > > > > I git clone git:// > > git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > > > > find v3.7-rc1 has two same commit ,can some one give me a detailed > >

[git-users] question: how to know from a commit id to know it's merged by which commit id

2013-03-20 Thread lei yang
Hi experts I think I should have asked this question, but I can't find it know the question is I have a commit id A in tree, how could I know this commit is merged by which commit Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. T

Re: [git-users] from the commit message to get its in which branch or tag

2013-03-18 Thread lei yang
On Tue, Mar 19, 2013 at 6:08 AM, Johan 't Hart wrote: > > > On Monday, March 18, 2013 4:40:55 PM UTC+1, lei yang wrote: >> >> >> >> On Mon, Mar 18, 2013 at 6:03 AM, Johan 't Hart wrote: >> >>> Wasnt there something like patch-id you can

Re: [git-users] from the commit message to get its in which branch or tag

2013-03-18 Thread lei yang
On Mon, Mar 18, 2013 at 6:03 AM, Johan 't Hart wrote: > Wasnt there something like patch-id you can use in this case? > [lyang0@ala-lpd-test1 linux]$ git format-patch c51a3d140bb726a662a867a2ae4098cc311347d7^..c51a3d140bb726a662a867a2ae4098cc311347d7 -o /tmp//tmp/0001-x86-mce-Do-not-change-wo

[git-users] from the commit message to get its in which branch or tag

2013-03-17 Thread lei yang
Hi experts, commit bd01370ca2aabc4d683a3b8e04817ee3bc97ad0b Author: Paul Eggleton Date: Tue Sep 25 15:58:32 2012 +0100 layer.conf: allow other layers to depend on this version Set LAYERVERSION and rename the collection to "core". Given changes such as the tabs to spaces cleanup fo

[git-users] create a new branch with the contents from current branch's dir

2013-03-11 Thread lei yang
Hi experts, Branch A content is lyang001@lyang001-OptiPlex-9010:~/meta-networking$ ls README recipes-connectivity recipes-daemons recipes-filter recipes-protocols recipes-support sub.sh xx.sh I want to create a new branch named "support" and make it contain "recipes-support" (recipes-supp

[git-users] how to create a new empty branch

2013-03-01 Thread lei yang
Hi experts, how to create a new empty branch, any command? Thanks Lei -- 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...@googlegroup

[git-users] To know the string in which branch

2013-02-20 Thread lei yang
Hi expert, Is there a git command to know string "foo" contains in which branch? Lei -- 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

[git-users] when or which commit delete this file

2013-01-31 Thread lei yang
Hi experts, I have a file named foo.c, which is in tree, not I find it's removed, how could I which commit delete it ? Lei -- 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 i

Re: [git-users] Re: acked by ,test by, how to add them. automatically? and what does it mean

2013-01-27 Thread lei yang
On Sun, Jan 27, 2013 at 4:38 PM, milki wrote: > On Thursday, January 24, 2013 8:40:20 AM UTC-8, lei yang wrote: >> >> I know git commit -s can add my self with "signed off by me" but how >> to get acked by and tested by? > > > Many workflow tools will autom

Re: [git-users] add the code file by other write,and keep others know it's written by him in commit log

2013-01-24 Thread lei yang
On Fri, Jan 25, 2013 at 12:46 AM, Konstantin Khomoutov wrote: > On Fri, 25 Jan 2013 00:36:02 +0800 > lei yang wrote: > >> if want to add foo.c to my git repos ,I want to keep others know foo.c >> is written by phil, and better to leave the origin commit message.how >&

[git-users] acked by ,test by, how to add them. automatically? and what does it mean

2013-01-24 Thread lei yang
Hie experts, see below commit: commit abb959f8a3f125a6e6641abbd020111516dfc8f6 Author: Javi Merino Date: Fri Dec 16 16:04:36 2011 +0100 ARM: 7237/1: PL330: Fix driver freeze Add a req_running field to the pl330_thread to track which request (if any) has been submitted to the DMA.

[git-users] add the code file by other write,and keep others know it's written by him in commit log

2013-01-24 Thread lei yang
Hi if want to add foo.c to my git repos ,I want to keep others know foo.c is written by phil, and better to leave the origin commit message.how could I do? note: I can't use format-patch, because they have different path for this file. Thanks Lei --

Re: [git-users] which commit ever change FULL_OPTIMIZATION in this file

2013-01-21 Thread lei yang
seems not work for me lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git blame meta/conf/bitbake.conf |grep FULL_OPTIMIZATION 9cb71137 meta/conf/bitbake.conf (Khem Raj 2011-03-17 16:54:30 -0700 524) FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" 2864ff6a meta/conf/bitbake.conf (Rich

[git-users] which commit ever change FULL_OPTIMIZATION in this file

2013-01-21 Thread lei yang
Hi experts, lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git blame -c meta/conf/bitbake.conf 9cb71137 meta/conf/bitbake.conf (Khem Raj 2011-03-17 16:54:30 -0700 524) FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git show 9cb71137 commit 9cb7

[git-users] Does git request-pull and git send-email to combine ?

2013-01-18 Thread lei yang
Hi experts I want send a pull request following the patches email, is it possible? Lei --

Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread lei yang
On Sat, Jan 19, 2013 at 1:00 AM, Konstantin Khomoutov wrote: > On Sat, 19 Jan 2013 00:37:20 +0800 > lei yang wrote: > >> git config --global sendemail.smtppass this will display >> password in .git config >> >> can we avoid this ? > > Yes, do not kee

[git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread lei yang
git config --global sendemail.smtppass this will display password in .git config can we avoid this ? lei --

[git-users] help, about git send email seting

2013-01-18 Thread lei yang
When I use git send-email I aways get below confirmation info Who should the emails appear to be from? [Lei Yang ] Emails will be sent from: Lei Yang Message-ID to be used as In-Reply-To for the first email? before, I don't get this confirmation now I use I newly installed os to us

[git-users] how to get a patch summary like below

2013-01-18 Thread lei yang
Hi is there a way to get below info? [PATCH 1/3] kernel-yocto: remove unnecessary non-bare warning In the past working from a non-bare clone would cause problems, due to branches not existing in the WORKDIR clone. This hasn't been true for some time, since the routines which convert remo

[git-users] Question about git request pull email

2013-01-18 Thread lei yang
Hi experts, I see below -- Updating guilt to allow git 1.8.x as a supported version. This version has no impact on other functionality within the scripts, so no other adjustments are necessary. This addresses [YOCTO #3275] Ch

Re: [git-users] git request-pull? how to?

2013-01-15 Thread lei yang
On Tue, Jan 15, 2013 at 5:33 AM, Konstantin Khomoutov wrote: > On Tue, 15 Jan 2013 19:30:04 +0800 > lei yang wrote: > >> I always see something like >> http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/54774 > > Looks like the result of `git form

[git-users] git request-pull? how to?

2013-01-15 Thread lei yang
Hi experts I always see something like http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/54774 Then it follows patches, I don't know how to get the first one, which is not code changes but some info like "changes since vx", and then list the modified files I also see somet

[git-users] git request-pull? how to

2013-01-15 Thread lei yang
--

[git-users] git send-email with "space" help

2013-01-06 Thread lei yang
git send-email -2 --to lei.y...@windriver.com --subject-prefix=meta-networking][PATCH:V2> works results: subject is : [meta-networking][PATCH:V2 1/2] Removing README from libvirt and qemu dirs but I want [meta-networking][PATCH V2 1/2] Removing README from libvirt and qemu dirs git send-

[git-users] download a directory or file without clone the whole tree

2013-01-06 Thread lei yang
Hi experts I find my treeA want to have another treeB's dir, I don't want to clone the whole treeB, I don't know can we do it with git the get treeB's dir Lei --

Re: [git-users] git config fetch.recurseSubmodules true && git pull doesn't update the submodule

2012-12-26 Thread lei yang
On Wed, Dec 26, 2012 at 4:57 AM, Konstantin Khomoutov wrote: > On Wed, 26 Dec 2012 12:49:43 +0800 > lei yang wrote: > >> I want others when they "git pull" it also update the submoudles .but >> below two ways don't work for me >> >> 1) >&g

Re: [git-users] git config fetch.recurseSubmodules true && git pull doesn't update the submodule

2012-12-26 Thread lei yang
On Wed, Dec 26, 2012 at 8:57 PM, Konstantin Khomoutov wrote: > On Wed, 26 Dec 2012 12:49:43 +0800 > lei yang wrote: > >> I want others when they "git pull" it also update the submoudles .but >> below two ways don't work for me >> >> 1) >&g

[git-users] git config fetch.recurseSubmodules true && git pull doesn't update the submodule

2012-12-25 Thread lei yang
Hi expert, I want others when they "git pull" it also update the submoudles .but below two ways don't work for me 1) git config fetch.recurseSubmodules true && git pull 2) git config alias.pullall '!git pull && git submodule update --init --recursive' > it works with git pullall but I don't

Re: [git-users] Re: Is it possible cp some file from one branch to another without switch branch

2012-12-18 Thread lei yang
Thanks very much! it works for me Lei On Mon, Dec 17, 2012 at 5:23 AM, Thomas Ferris Nicolaisen wrote: > On Monday, December 17, 2012 1:58:53 PM UTC+1, lei yang wrote: >> >> Hi expert, >> >> now I'm in the branch A, I want to copy some file from branch B to A &g

Re: [git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-17 Thread lei yang
Thanks for the tips, I have another question, If I forget branch B files' path, how chould I do without switch to B Lei On Mon, Dec 17, 2012 at 6:18 AM, Konstantin Khomoutov wrote: > On Mon, 17 Dec 2012 04:58:53 -0800 > lei yang wrote: > >> now I'm in the branch A,

[git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-17 Thread lei yang
Hi expert, now I'm in the branch A, I want to copy some file from branch B to A any help? Lei --

[git-users] about add one remote's branch to local branch and keep update

2012-12-14 Thread lei yang
Hi experts, I use below command to add a remote git's branch to local branch git fetch g...@github.com:leiyang/git_testA.git master:local The question is: if remote tree's "master" branch update, how could I update local tree's "local" branch to sync with remote tree's "master"? Thanks Lei

[git-users] ls it possible to change the commit info

2012-12-10 Thread lei yang
HI experts my git log is something like #git log commit a83052d1f102341bb5931955658266882d7b8953 Author: Lei Yang Date: Tue Dec 11 13:36:45 2012 +0800 add testfileA2.add commit b8558af3986384e657bfdbc48154830395b340c6 Author: Lei Yang

Re: [git-users] Digest for git-users@googlegroups.com - 4 Messages in 1 Topic

2012-12-10 Thread lei yang
On Tue, Dec 11, 2012 at 11:00 AM, lei yang wrote: > On Tue, Dec 11, 2012 at 10:02 AM, King Jin wrote: >> git submodule might be the one you are looking for. >> >> $git clone git://github.com/lei/B.git B >> $cd B >> $git submodule add git://github.com/lei/A

Re: [git-users] Re: git help about git merge to a specific dir and keep the commit log

2012-12-10 Thread lei yang
> > git mv \* kvm > > The \ in front of the * tells git to expand the file names instead of having > the shell do it. My mistake. > > > On Monday, December 10, 2012 2:35:58 AM UTC-6, lei yang wrote: >> >> Hi experts, >> >> I have two tree A and B, >

Re: [git-users] Digest for git-users@googlegroups.com - 4 Messages in 1 Topic

2012-12-10 Thread lei yang
n git log. > > On Tue, Dec 11, 2012 at 8:49 AM, wrote: >> >> Today's Topic Summary >> >> Group: http://groups.google.com/group/git-users/topics >> >> git help about git merge to a specific dir and keep the commit log [4 >> Updates] >> &g

[git-users] git help about git merge to a specific dir and keep the commit log

2012-12-10 Thread lei yang
Hi experts, I have two tree A and B, A: git://github.com/lei/A.git B: git://github.com/lei/B.git B is like [lyang0@ubuntu B]$ ls benchmark box-opening kvm I want merge A tree to B, 1) put A's content to the "kvm" directory of B 2)I want to keep all the A's commit log(history) into B's tree ca

[git-users] about git commit -m add the more than two lines log

2012-10-11 Thread lei yang
I know git commit -m "somethingsomething" will give the git info in the git log but I don't know how to write some thing with more than two line some thing like something something something something something something in the git log -- You received this message because you are subscribed to

Re: [git-users] how to git format patch without swith to that branch

2012-07-24 Thread lei yang
On Tue, Jul 24, 2012 at 7:53 PM, Thomas Ferris Nicolaisen wrote: > On Tuesday, July 24, 2012 7:05:14 AM UTC+2, lei yang wrote: >> >> how to? >> > > If you want to format-patch for example the last two commits on branch B, > this should do it: > > git format-pat

Re: [git-users] how to git format patch without swith to that branch

2012-07-23 Thread lei yang
how to? Lei On Tue, Jul 24, 2012 at 12:18 AM, Konstantin Khomoutov wrote: > On Mon, 23 Jul 2012 23:43:50 +0800 > lei yang wrote: > >> I want to format patch from branch A, but current branch is B, is it >> possible to format patch without switching to B? > Yes. -- Y

[git-users] how to git format patch without swith to that branch

2012-07-23 Thread lei yang
Hi I want to format patch from branch A, but current branch is B, is it possible to format patch without switching to B? Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.co

[git-users] from the commit titles to get the commit ids

2012-07-07 Thread lei yang
Hi experts I have a file which comtains commit title #cat file Revert "eglibc: fix perl path in target scripts on fedora 17 eglibc: fix perl path in target scripts on fedora 17 alpha eglibc: fix re-execution of task how could I change the title to the commit id lists? Thanks Lei --

Re: [git-users] Re: the issue I met when I want to back port some thing from one directory

2012-07-07 Thread lei yang
he commit list that has not the duplicated content Thanks Lei On 7/7/12, Thomas Ferris Nicolaisen wrote: > On Saturday, July 7, 2012 3:52:05 PM UTC+2, lei yang wrote: >> >> Hi expert, >> >> I often get the commit in the branch "upmaster" but not in the >&

[git-users] the issue I met when I want to back port some thing from one directory

2012-07-07 Thread lei yang
Hi expert, I often get the commit in the branch "upmaster" but not in the "local_branch" for one dir named meta/recipes-core/eglibc with below cmd git rev-list ^local_branch upmaster meta/recipes-core/eglibc and then get the commit list. and then format the commit with patches and then patch to

Re: [git-users] Re: The commit share

2012-07-07 Thread lei yang
example? > > On Friday, July 6, 2012 2:39:44 PM UTC+2, lei yang wrote: >> >> Hi expert, >> >> With git merge-base I get the commitid1 for the merge base . How could I >> get the shared commit id since the commitid1 for the two branch? >> >> Thanks &

[git-users] how to know which file changed since one commit?

2012-07-06 Thread lei yang
Hi Experts, I want to know which file is changed sine one commit, how could I do? Thanks Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this grou

[git-users] Re: The commit share

2012-07-06 Thread lei yang
> On Friday, July 6, 2012 2:39:44 PM UTC+2, lei yang wrote: >> >> Hi expert, >> >> With git merge-base I get the commitid1 for the merge base . How could I >> get the shared commit id since the commitid1 for the two branch? >> >> Thanks >> Lei >

[git-users] Re: How to add the branch from another tree to my local branch

2012-07-06 Thread lei yang
On Friday, July 6, 2012, Konstantin Khomoutov wrote: > On Fri, 6 Jul 2012 20:34:34 +0800 > lei yang > wrote: > > > As the title, thanks in advance > Please try to rephrase as it appears you're using wrong terminology. > > A tree is a collection of files. For i

[git-users] The commit share

2012-07-06 Thread lei yang
Hi expert, With git merge-base I get the commitid1 for the merge base . How could I get the shared commit id since the commitid1 for the two branch? Thanks Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, sen

[git-users] How to add the branch from another tree to my local branch

2012-07-06 Thread lei yang
As the title, thanks in advance Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com.

[git-users] How to see the which file changead between two commit and plus with commit id

2012-06-16 Thread lei yang
Hello I know below command can get which file changed between the two commit lyang0@lyang0-OptiPlex-755:~/git/kernel-3.4.x$ git diff --name-only 16d815fd230b81d49d395e91b084f0731ea6e4a2^..3e5f29bd22e597d66d9c1013a0ab190e6b48a8ba drivers/i2c/busses/i2c-davinci.c drivers/i2c/busses/i2c-tegra.c can

Re: [git-users] Re: how to get the formated patches from the merge id

2012-06-15 Thread lei yang
On Fri, Jun 15, 2012 at 7:59 PM, Vincent van Ravesteijn wrote: > Op 15-6-2012 13:46, lei yang schreef: > >> Hi >> >> I mean, >> >> I have a commit like below >> commit 0e93b4b304ae052ba1bc73f6d34a68556fe93429 >> Merge: b724cc1 51bfd29 >>

Re: [git-users] Re: how to get the formated patches from the merge id

2012-06-15 Thread lei yang
(b724cc1..51bfd29) Lei On Fri, Jun 15, 2012 at 4:02 PM, Thomas Ferris Nicolaisen wrote: > I don't really understand what you're trying to do here. Could you try > explaining in a little more detail? > > > On Thursday, June 14, 2012 6:25:12 PM UTC+2, lei yang wrote: &

[git-users] how to diff specifc file for different tags or branch

2012-06-14 Thread lei yang
Hi list As the title, if I have two branch A and B, how could I diff the file test.c for A and B Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from th

[git-users] how to get the formated patches from the merge id

2012-06-14 Thread lei yang
Hello list: eg: commit 0e93b4b304ae052ba1bc73f6d34a68556fe93429 Merge: b724cc1 51bfd29 how can I from 0e93b4b304ae052ba1bc73f6d34a68556fe93429 to get the formated patch ? (I know we can do git format-patch b724cc1..51bfd29, but how to from 0e93b4b304ae052ba1bc73f6d34a68556fe93429 to get?) Lei

Re: [git-users] how to get the commit id from one file or multi file

2012-06-14 Thread lei yang
On Thu, Jun 14, 2012 at 11:46 PM, Bryce Verdier wrote: > On 06/14/2012 08:33 AM, lei yang wrote: >> >> Hi List, >> >> Can we get the commit id list for one file or multifile? >> >> Lei >> > What do you mean by commit id? > I mean the file in gi

[git-users] how to get the commit id from one file or multi file

2012-06-14 Thread lei yang
Hi List, Can we get the commit id list for one file or multifile? Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-u

Re: [git-users] how to change the whole git tree to the patchsets

2012-06-14 Thread lei yang
On Thu, Jun 14, 2012 at 1:52 AM, Konstantin Khomoutov wrote: > On Thu, 14 Jun 2012 01:03:27 +0800 > lei yang wrote: > >> I want to change my whole tree to the patchset? which cmd can be >> used ? > > git format-patch --root > Thanks This works well, I know it can e

[git-users] how to change the whole git tree to the patchsets

2012-06-13 Thread lei yang
Hi list I want to change my whole tree to the patchset? which cmd can be used ? Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send e

Re: [git-users] about git format-patch help

2012-06-13 Thread lei yang
On Wed, Jun 13, 2012 at 11:25 PM, Konstantin Khomoutov wrote: > On Wed, 13 Jun 2012 02:32:25 -0700 (PDT) > lei yang wrote: > >> In my tree from git log I can see the last commit >> >> commit 1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6 >> Author: Mathieu Desnoyers &

[git-users] about git format-patch help

2012-06-13 Thread lei yang
In my tree from git log I can see the last commit commit 1c8284ebdbd119314b8f01e442e64cf5fd4b9fe6 Author: Mathieu Desnoyers Date: Fri Sep 3 08:08:18 2010 -0400 LTTng modularization, import of lttng 0.226 Will match kernel tree "lttng 0.227". Signed-off-by: Mathieu Desnoye