for example, I have installed git in the directory. But I'm not able to find in which directory I installed
In terminal, `which git` or `whereis git` will give your the git's executable file location.
For example in my machine :
$which git
/usr/bin/git
$
Hi Allen, thanks for the answer. One more question.
For example In an directory have initialized gitint and some files are getting track after few days again I came back and forgot the directory name
Then I how I'll find this
Go to home directory and type the find . -name ".git" comment, it will list all the git repo in your computer. Check those list and find your repo.
$find . -name ".git"
find: ‘.-name’: No such file or directory
I'm getting this
It looks like you're new here. Sign in or register to get started.