DO NOT SET YOUR USERNAME AND EMAIL TO GLOBAL. I repeat do not set it up to global, you will run into allot of issues when it comes to cloning or trying to get something off of github. I know that in the course it tell you to do the following
# makes git terminal output pretty git config --global color.ui true # this will mark you as the 'author' of each committed change git config --global user.name "your name here" # use the email associated with your GitHub account git config --global user.email your_email_here
But that is only for the mac users
Instead you should do the following commands:
sudo apt update sudo apt upgrade sudo apt install git
and do this instead of the one they show:
git config color.ui true # this will mark you as the 'author' of each committed change git config user.name "your name here" # use the email associated with your GitHub account git config user.email your_email_here
What will end up happening is once you reach all the way at the bottom on phase 3 where it asks you to install nvm, the following commands don’t work if you installed it on global:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash or git clone https://github.com/nvm-sh/nvm.git
and with an error that says this:
git: 'remote-https' is not a git command. See 'git --help'.Failed to clone nvm repo. Please report this!
If by any chance you did install the global units on linux, I found that simply removing github all together and starting fresh really helps, and so far was the quickest solution I was able to come up with (trust me I spent hours trying to figure out what was wrong, forum after forum).
you simple type in:
sudo apt-get remove git
and then of course fix your mistake!