Installing git and some useful shell commands#
Learning Objectives#
After working through this topic, you should be able to:
install git on your local machine
set the username and user email for git
list, create and delete files from the command line
Notes#
Git is typically already installed on linux and mac
Setting the username and email is not optional!
You can skip the command line intro if you have seen the shell screencasts
The videos recommends some outdated programs. Stick to what we recommended
Additional configuration#
Sometimes git will open a code editor in which you can type a commit message or some
other message. On most operating systems, the default editor for this is a command line
editor like vim
or nano
that is hard to use. We recommend that you set it instead
to vscode with the following command:
git config --global core.editor "code"
Materials#
For this topic we are building on the excellent YouTube playlist by NetNinja