Use git "log" command in another folder -
i have php files in folder (which git project). in these php file want execute "git log" folder b. folder b git project (so log different between , b).
how can shell command ?
from, man git
:
you can --git-dir parameter, before passing commands.
git --git-dir /foo/bar/.git log
Comments
Post a Comment