Thanks Yubin and Kostix for your suggestions

Kostix,

Repositories accessed  remotely using SSH or HTTPS  ,so I need to close it
for git log.

Regarding diff , I would like to see lines of code changes happened from
last 2 months with user and date

Regards,
Yogi



Regards,
Yogesh


On Jan 10, 2018 7:04 PM, "Konstantin Khomoutov" <[email protected]> wrote:

On Tue, Jan 09, 2018 at 09:09:01PM -0800, Yogi wrote:

[...]

> 1.  How do I execute git log command without going in to repo.

To answer this question, we need to know how are you accessing these
repos "normally".

I mean, if they can only be accessed via SSH and/or HTTPS, -- that is,
via "remote" transports, there's no way to traverse the histories of
such repos without cloning them locally.

If they can be accessed "directly" -- say, they are hosted on
network filesystems such as SMB/CIFS and NFS, -- then you can tell the
`git` commands to access a repository at the specific pathname through
using the environment variable (GIT_DIR) or the "--git-dir" command-line
option.

> 2.  How do I add diff command with git log mentioned above

I, for one, fail to parse this sentence.
Care to elaborate?

The easiest approach to producing clean questions is to not attempt to
make up a single sentence but rather state what you'd like to have as a
result.

Say, you run `git log` to determine the set of all commits a particular
developer made since the specified timeframe. If yes, then *what* would
you like the diffs to be generated for? Note that the commits in that
set might represent completely unrelated changes, be done on separate
branches etc.

--
You received this message because you are subscribed to a topic in the
Google Groups "Git for human beings" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/git-users/L61fwTn5auY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
For more options, visit https://groups.google.com/d/optout.

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

Reply via email to