“fatal: Not a git repository (or any of the parent directories)” from git status

You have to actually cd into the directory first: $ git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts Cloning into ‘liggghts’… remote: Counting objects: 3005, done. remote: Compressing objects: 100% (2141/2141), done. remote: Total 3005 (delta 1052), reused 2714 (delta 827) Receiving objects: 100% (3005/3005), 23.80 MiB | 2.22 MiB/s, done. Resolving deltas: 100% (1052/1052), done. $ git status fatal: … Read more

Git list of staged files

The best way to do this is by running the command: git diff –name-only –cached When you check the manual you will likely find the following: –name-only Show only names of changed files. And on the example part of the manual: git diff –cached Changes between the index and your current HEAD. Combined together, you … Read more

git status shows modifications, git checkout — doesn’t remove them

I was having this problem on Windows but wasn’t prepared to look into the ramifications of using config –global core.autocrlf false I also wasn’t prepared to abandon other private branches and goodies in my stash and start with a fresh clone. I just need to get something done. Now. This worked for me, on the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)