Re: [git-users] How best to show changes from a number of commits?

2013-06-28 Thread Dale R. Worley
> From: Sam Roberts 
> 
> You have interleaved your changes with others on master? If so, yes,
> you should have done on a branch.
> 
> You can cherrypick them all to a branch, and rebase master... but
> probably noone will thank you for that :-)

If you just want a diff that shows the changes in those commits, and
nothing else, it seems like the thing to do is cherrypick them all to
a branch (based before all the selected commits), and then do a diff
between the base of the branch and its tip.

Dale

-- 
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 best to show changes from a number of commits?

2013-06-27 Thread John McKown
If you just want to show the commits. Not "do something" with them, and you
have set up "git config" with the "user.name" set, then you might see what:

git log --author=lewis

gives you. Replace "lewis" with the appropriate string from the user.name.
Hopefully you set that up.

On Thu, Jun 27, 2013 at 5:50 AM, aidy lewis  wrote:

> git users,
>
> Perhaps my git workflow is wrong.
>
> I have committed numerous times in order to complete a task, but when the
> code is to be reviewed, I'd like to show a non-contiguous view of my
> changes, which do not include the commits other developers have made. Is
> this possible?
>
> Or should I be creating a branch and showing the differences from the
> master and my branch when it comes to a code review?
>
> Aidy
>
> --
> 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.
>
>
>



-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

-- 
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 best to show changes from a number of commits?

2013-06-27 Thread Sam Roberts
You have interleaved your changes with others on master? If so, yes,
you should have done on a branch.

You can cherrypick them all to a branch, and rebase master... but
probably noone will thank you for that :-)

-- 
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] How best to show changes from a number of commits?

2013-06-27 Thread aidy lewis
git users,

Perhaps my git workflow is wrong.

I have committed numerous times in order to complete a task, but when the
code is to be reviewed, I'd like to show a non-contiguous view of my
changes, which do not include the commits other developers have made. Is
this possible?

Or should I be creating a branch and showing the differences from the
master and my branch when it comes to a code review?

Aidy

-- 
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.