Link to home
Start Free TrialLog in
Avatar of Jasmin shahrzad
Jasmin shahrzad

asked on

list git repository

Is there any way to list all gits repository on ubuntu server. some users don't create .git directories to create a new git repository, then command 'find . -depth -name *.git -print'
not working for me to list all repository  
Avatar of pepr
pepr

Every Git repository that contains a working copy of the files has to contain also the .git subdirectory.
Bare git repositories--on  the other hand--do not contain working copy of the files. A bare repository--its directory--should be given (by convention) name like myrepository.git. There is no .git inside.
Avatar of Jasmin shahrzad

ASKER

what is the command?
ASKER CERTIFIED SOLUTION
Avatar of pepr
pepr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial