• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

what is the command to check the history of my downloads?

 
Ranch Hand
Posts: 821
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have tried in vain to find the git commands which will display a history of my downloads.

So far, I tried git log but it does not give me a history of my downloads in my local drive.

I hope to trace back the downloads with timestamp, if possible.

Hope someone can advise me. Tks.
 
Saloon Keeper
Posts: 13280
292
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Uhh, what downloads?

Git is a version control tool, not a download manager.
 
tangara goh
Ranch Hand
Posts: 821
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:Uhh, what downloads?

Git is a version control tool, not a download manager.



Sorry about my poor English.


So, I did a couple of git clones...to my local drive.

I want to know the history of the clone with timestamps.

 
Stephan van Hulst
Saloon Keeper
Posts: 13280
292
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, that's not what Git does. Git doesn't care when you've cloned a repository, only when you've added new commits.

Probably the easiest way to find out when you've cloned a repository is to use your file browser to check the creation date of the .git folder in your repository.
 
Saloon Keeper
Posts: 24321
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think what you are looking for is the git log. Which you can view using the "git log" command. When you clone a git repo, the download includes the log and, of course, all previous generations of the managed repo contents.

You can also view differences between versions (git diff).

Graphically, if you've pulled from a git hosting website (like github), you can also browse generations and branches with your web browser.

Since you're using Eclipse, however, check the Team menu. Team/Show in History gives a nicely-formatted display.
 
Stephan van Hulst
Saloon Keeper
Posts: 13280
292
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe the OP is only interested in the time that the repository was cloned, which is NOT tracked by Git.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic