Forrest logo
back to context overview

git-hash-object

List of commands for git-hash-object:

  • git-hash-object:tldr:15539 git-hash-object: Compute the object ID and store it in the Git database.
    $ git hash-object -w ${filename}
    try on your machine
    explain this command
  • git-hash-object:tldr:690b7 git-hash-object: Compute the object ID specifying the object type.
    $ git hash-object -t ${select} ${filename}
    try on your machine
    explain this command
  • git-hash-object:tldr:c3bc6 git-hash-object: Compute the object ID without storing it.
    $ git hash-object ${filename}
    try on your machine
    explain this command
  • git-hash-object:tldr:ced42 git-hash-object: Compute the object ID from `stdin`.
    $ cat ${filename} | git hash-object --stdin
    try on your machine
    explain this command
back to context overview