This is result of running git log.
My bad, the result i want is git log output like this:
yyyyyyy feature2
xxxxxxx feature1
a777378 init
xxxxx and yyyyy means this can change.
i just want to delete some unneeded commit to save space. 
because test1 maybe change 123 to 124 and test2 maybe change 124 to 125, 
and feature1 maybe change 125 to 126, after merge,feature1 can just chang 
123 to 126.
On Friday, November 17, 2023 at 6:02:41 PM UTC+8 Konstantin Khomoutov wrote:

> On Fri, Nov 17, 2023 at 01:00:46PM +0300, Konstantin Khomoutov wrote:
>
> >> how can i merge test1 test2 into feature1?
> >> e94e3c2 feature2
> >> f509e6e test4
> >> 9972849 test3
> >> d7f2f97 feature1
> >> 04ea2a1 test2
> >> 1c0f590 test1
> >> a777378 init
> > 
> > Before we continue... Is this just a list of assorted commits with no 
> inherent
> > ordering between them or is there a result of running `git log`?
> > 
> > If it's the latter, feature2 appears to contain both test1 and test2 
> already.
>
> Oops, I wanted to say that feature1 appears to contain both test1 and 
> test2,
> of course.
>
> But since feature2 contains feature1, it transitively also contains test1 
> and
> test2, for what it worth.
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/74588879-2fb2-4c3c-b274-114960d42c16n%40googlegroups.com.

Reply via email to