Skip to main content
7 events
when toggle format what by license comment
Apr 24, 2015 at 14:48 vote accept killjoy
Apr 23, 2015 at 19:48 comment added CodeWizard you need 40 characters. 2 are the folder name and 38 are the file name if you take it from the .git folder. If you have the id from git ls-tree -s then you already have the full id.
Apr 23, 2015 at 19:19 comment added killjoy <br/> ~/gs/.git/objects/a5$ ls bce3fd2565d8f458555a0c6f42d0504a848bd5 <br/> ~/gs/.git/objects/a5$ git cat-file -p bce3fd2565d8f458555a0c6f42d0504a848bd5 <br/> fatal: Not a valid object name bce3fd2565d8f458555a0c6f42d0504a848bd5
Apr 22, 2015 at 21:04 comment added CodeWizard just the SHA no path. git cat-file -p 1b2a93ec2d9f68e802d5d106983a395b368f0d36
Apr 22, 2015 at 19:41 comment added killjoy I tried this, like I mentioned above. This is what happens: <br/> @precise32:~/gs$ git cat-file -p .git/objects/1b/2a93ec2d9f68e802d5d106983a395b368f0d36 fatal: Not a valid object name .git/objects/1b/2a93ec2d9f68e802d5d106983a395b368f0d36`
Apr 22, 2015 at 14:43 history edited CodeWizard CC BY-SA 3.0
added 121 characters in body
Apr 22, 2015 at 14:33 history answered CodeWizard CC BY-SA 3.0