-2

I am converting an old Subversion repository to Git. Here is an example:

$ svn info http://alfa.com/bravo/charlie
Path: charlie
URL: http://alfa.com/bravo/charlie
Relative URL: ^/charlie
Repository Root: http://alfa.com/bravo
Repository UUID: 01234567-89ab-cdef-0123-456789abcdef

Does Git have some equivalent to Repository UUID?

2
  • 7
    Why? What do you want to use it for? What is your goal? – Lightness Races in Orbit Apr 3 '16 at 16:30
  • You could use the url or the root-hash. But without context it's hard to advise you. – CodesInChaos Apr 3 '16 at 17:26
3

No, there is no unique identification for a Git repository.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.