0
GIT
I am creating a GIT Repository on an existing project. I installed GIT BASH on my computer. I created a git folder by using command git init. But I cannot locate the file I saved in one of my folder on my desktop? Is it I am doing something wrong?? Please help
4 Respuestas
+ 2
https://www.sololearn.com/learn/2338/?ref=app
Make sure that your working directory is set to the relevant folder.
Then check, if there are any files in it, e.g. git status
0
You need to set the git to the repo folder directory.
0
How? I m a new bee
0
If you are on windows you can open a command prompt in your folder: open the folder, where your file is stored and type "cmd" in the path and hit enter. That opens a prompt with the path to your folder. There you can enter git init, which creates a git in that folder.
Or you open the prompt, direct to the folder by "cd path/to/folder" and then git init...
Hope that helps