Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the git command so as to open a repository

Tags:

git

I'm learning Git using Git Extension which provide graphical user interface.

But I have to do a command that I have not found in Git Extension. ( I want to do git checkout -- myFile so as to revert it).

So I was going to try with command line... However when i launch Git Bash, I cannot open the repository I am working on. I have not found any command that resemble to this ( git-open or something like that)

Any idea what I am missing ?

like image 928
Stephane Rolland Avatar asked Dec 12 '22 03:12

Stephane Rolland


1 Answers

You do not need to "open" your repository, just cd to the directory.

like image 103
Lars Nyström Avatar answered Dec 29 '22 07:12

Lars Nyström