[git-users] Re: problem with cherry-pick

2011-06-18 Thread Marek WywiaƂ


On 12 Cze, 20:33, geppo12  wrote:
> I would like delete initial commits. To do this i create a new branch
>
> clean repository
> git reset --hard HEAD
>
> create new reference
> git symbolic-ref HEAD refs/heads/test
> git rm --cached -r .
> git commit --allow-empty -m "start"
>
> re-sync working tree
> git checkout -f master
> git checkout test
>
> now i would like get some commits form master branch into empty branch
> git cherry-pick master
>
> that don't work
> I tried also
> git cherry-pick -Xtheirs master
>
> with same result
>
> i used msysgit 1.7.3.1 and 1.7.4

git git version 1.7.1

i did your above steps and at the end:
  * git checkout test
  * git log master (to show ids)
  * git cherry-pick someid (without 'master' at the end)

it works
>
> any ieda ?
> Best Regards
> Giuseppe Monteleone

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: problem with cherry-pick

2011-06-14 Thread Thomas Ferris Nicolaisen
Hi Giuseppe,

I find it very hard to understand what you are trying to do. Can you maybe 
explain in more general terms what you are trying to achieve? "Deleting 
initial commits" doesn't make much sense to me, at least. What is the reason 
you are doing this?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/30Mvky6jHkEJ.
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.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.