On Tue, Jan 09, 2018 at 09:09:01PM -0800, Yogi wrote:
> Hi,
>
> I am beginner to git and have 10 repos in my department.
>
> I would like to create report for chekins done from last 1-2 months with
> user name , date , comments , number of changes done and if possible
> include diff.I am using git log for the same with --pretty=format options
> and able to get details which I required without adding diff.
>
> Now I have 2 questions -
>
> 1. How do I execute git log command without going in to repo.
> 2. How do I add diff command with git log mentioned above
Try:
git --git-dir=/home/repo/.git log
Note that it is important to provide the path up to the .git directory of your
repo, otherwise you will get error message.
Yubin
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.