Forums

Newbie can't find the name of the git repository I created

stack over flow says to run this basename 'git rev-parse --show-toplevel' the result of that is git rev-parse --show-toplevel

maybe im running it from the wrong directory.. although i did run it from both mysite.git and mysite

in mysite.git/description is says this

Unnamed repository; edit this file 'description' to name the repository.

do i enter the repo name here, what is the format?

May I ask what are you trying to do with the name of your git repo? (it's not something that people typically change/look at)

Or are you instead trying to figure out what branch you are on, or what remote repo you are linked to?