Skip to content

Instantly share code, notes, and snippets.

View mamutalib's full-sized avatar
🎯
Focusing

Md. Abdul Mutalib mamutalib

🎯
Focusing
View GitHub Profile
@mamutalib
mamutalib / script.md
Last active July 24, 2023 12:21
Download All Repositories from GitHub

** Download Your All repositories by following script **
curl -s https://api.github.com/users/YourUserName/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone

Follow these to complete the task

  • open git bash
  • paste the above script
  • change YourUserName to Your GitHub user name
# remove all files from git cache
Just pase these command and fix the problem (.gitignore not working).
git rm -r --cached .
git add .
git commit -m "untracked fixed"