“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

How to clone all repos at once from GitHub?

On Windows and all UNIX/LINUX systems, using Git Bash or any other Terminal, replace YOURUSERNAME by your username and use: CNTX={users|orgs}; NAME={username|orgname}; PAGE=1 curl “https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100″ | grep -e ‘clone_url*’ | cut -d \” -f 4 | xargs -L1 git clone Set CNTX=users and NAME=yourusername, to download all your repositories. Set CNTX=orgs and NAME=yourorgname, to download … Read more

How do I clone a GitHub wiki?

Append .wiki.git to the repository name. That is, if your repository name was foobar: git clone git@github.com:myusername/foobar.git would be the path to clone your repository and git clone git@github.com:myusername/foobar.wiki.git would be the path to clone its wiki. Note: You must have at least one page to be able to clone the wiki repo. (via @tobiasz-cudnik)