You can use the diff command with the option name-only:

git diff branch1 branch2 --name-only


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


On Sat, May 25, 2013 at 1:56 PM, lei yang <yanglei.f...@gmail.com> wrote:

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


Reply via email to