Skip to content

Git

Writing Git ignore:

  • gitignore- to avoid files from tracking

after adding files to git, VSCode dulls folders in FileViewer. Do not include “*” after folder path.

check more here

git revert commit-id #if this opens up a unix editor, then :wq to write and quit.
git config --global --list #to check all accounts

# to configure new account
git config --global user.name 
git config --global user.email