現在のディレクトリを含む git 作業ディレクトリのルートに相対的なディレクトリである引数を使用する必要がある bash スクリプト (実際には Makefile) を作成しています。
あれは:
/home/me$ git clone /abc/foo.git
directory foo created
/home/me$ cd foo/bar
/home/me/foo/bar$ execute_script.sh
hello /home/me/foo/baz
execute_script.sh は次のとおりです。
echo hello `git something`/baz
git とは何ですか? 現在の git 作業ルートの絶対パスを返す必要があります。