Git rev-parse
Jump to navigation
Jump to search
Internal
Overview
Return the Value of $GIT_DIR
git rev-parse --git-dir
If inside a git work area, return the relative path of $GIT_DIR (.git in the root of the work area)
git rev-parse --git-dir
If inside a git work area, return the relative path of $GIT_DIR (.git in the root of the work area)