Hi All,
I hope you can help!
I am folllowing the Learning Git tutorial but have come stuck when using git status command in bash:
..............................................................................................
dell@dell-PC MINGW64 ~/repos
$ ls
bitbucketstationlocations/ bucketstationsupplies/ locations.txt
dell@dell-PC MINGW64 ~/repos
$ cd repos/bitbucketstationslocations
bash: cd: repos/bitbucketstationslocations: No such file or directory
dell@dell-PC MINGW64 ~/repos
$ echo "Earth's Moon" >> locations.txt
dell@dell-PC MINGW64 ~/repos
$ git status
fatal: Not a git repository (or any of the parent directories): .git
dell@dell-PC MINGW64 ~/repos
$ cd repos/bitbucketstationslocations/git status
bash: cd: too many arguments
dell@dell-PC MINGW64 ~/repos
$ echo "Earth's Moon" /locations.txt
Earth's Moon /locations.txt
dell@dell-PC MINGW64 ~/repos
$ git status
fatal: Not a git repository (or any of the parent directories): .git
dell@dell-PC MINGW64 ~/repos
$ git status locations.txt
fatal: Not a git repository (or any of the parent directories): .git
dell@dell-PC MINGW64 ~/repos
.............................................................................................................
Your assistance would be most welcome!
Try an ls -al to see if there is a .git directory.
If not, initialise the directory with git init
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.