Skip to main content

Common mistakes in Git and Github

1. When you newly download the git into your machine firstly setup your credential then you will be able to work with git .​

Enter your github user-name

git config --global user.name "github_user_name"

Enter your gmail that you used to create your github account

git config --global user.email "github_email"

To recheck whatever credential you have entered

git config --list

2. Always use git bash for the npm command.​

3. Always make sure you have committed all the changes then make git pull.​

4. Always clone your own repository, not the one you forked from.​