On Tuesday, October 21, 2014 3:27:04 PM UTC-4, Ben Morgan wrote:
> When fetching a file on a shared repository, will the file show when and 
> who last committed and when and who last fetched it?
> Looking at some of the other posts, I just want to confirm that there is 
> no way to lock a file by one user to prevent other users from fetching 
> it...?


Because Git is distributed, a fetched file will not show any meta 
information. You must use the git log command to find such information. 
With git log, you can see who last committed a change to the file, but not 
who has fetched the file. Note that your repository must be "up to date", 
to be sure you're getting accurate information.

There is no way for a user to lock a file to prevent other users from 
fetching that file. 

Good luck!

Rick Umali / Author: "Learn Git in a Month of Lunches" / 

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/d/optout.

Reply via email to