Reputation: 39906
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 ?
Upvotes: 6
Views: 32701
Reputation: 41858
From GitExtension, open your repository, then you can open git bash and do what you want.
Or, start git bash, then cd to the directory where your code is (at the top level), but, I find it easier to just start with GitExtension so I don't have to think about what I had typed as the top of my src.
Upvotes: 2
Reputation: 6373
You do not need to "open" your repository, just cd
to the directory.
Upvotes: 15