Git Flashcards
1
Q
remove a file from git’s history. This could be used when you add a file to .gitignore after you have committed it
A
git rm –cached
git rm -r –cached
git rm -r –cached . (everything in cwd)
2
Q
add multiple remote repos to a project
A
check the remote repos:
git remove -v
add remote repos:
git remote add
now you can do:
git pull /