[git-users] How do I modify the commit message (not the topmost one) of a git commit?

2013-05-04 Thread Norah Jones
Hi, 

I did a series of commits and now I find one of my commit (not the topmost one) 
has an incorrect commit message. How can I change that specific one? I believe 
git commit --amend works only for the last commit.


Thanks,
Norah Jones


-- 
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/groups/opt_out.




Re: [git-users] How do I modify the commit message (not the topmost one) of a git commit?

2013-05-04 Thread William Seiti Mizuta
Hi Norah,

you can use the interactive rebase to change a commit message. For this,
get the commit's hash of the commit before the one you want to change. For
example, if you have the following commits:

A - B - C - D - E - F

where F is the newest commit and you want to change the commit message from
commit D, then you will need to get the hash from commit C. With this, use
the command git rebase -i hash-C. It will open an editor with commits D, E
and F. To change D commit's message, change the word that appears in front
of D from pick to reword.


William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br


On Sat, May 4, 2013 at 3:31 AM, Norah Jones nh.jone...@gmail.com wrote:

 Hi,

 I did a series of commits and now I find one of my commit (not the topmost
 one) has an incorrect commit message. How can I change that specific one? I
 believe git commit --amend works only for the last commit.


 Thanks,
 Norah Jones


 --
 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/groups/opt_out.




-- 
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/groups/opt_out.




[git-users] Re: Lost history when importing items from svn that have previously been copied between projects

2013-05-04 Thread Thomas Ferris Nicolaisen
On Friday, May 3, 2013 11:16:26 AM UTC+2, Geoff Ballinger wrote:


 Is there anything I can do about this or do we have to accept this as part 
 of the cost of moving to git?


The short answer is yes. At least, that's what I experienced when doing 
similar experiments with git-svn: You can't trace history across 
repositories. This would probably require some smarter tool that would be 
able to trace content by file-path, following SVN moves through history.

In some cases, it is possible to stitch history together from separate 
git-svn clones using git grafts. Not sure if this will work in your case, 
but here's a simple example: 
http://blog.tfnico.com/2010/10/gitsvn-6-grafting-together-svn-history.html

-- 
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/groups/opt_out.




[git-users] why my PC so many git.exe processes?

2013-05-04 Thread tqrdeutsch
Hi all,
I am using Git to maintain my codes for driving robots. Recently I met a 
problem, that Windows Task Manager shows me that there are 800 git.exe 
running, I can't kill them, and they seems to be there until I shut down my 
PC. This situation happen frequently. The point is, at that time I was not 
using anything related to Git. I didn't launch Git GUI, neither Bash, etc. 
Just as a summary, I was not commanding anything about Git.
Why? Could any friend here help me to figure it out? I have googled, 
unfortunately nothing exactly can be found. My using version is : *
Git-1.7.0.2.
*On a old PC with windows XP, 32 bit OS.
Welcome your suggestions and help.

-- 
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/groups/opt_out.