The Command Line, Git, and GitHub
3/6/17
Know where you are
lspwdprint working directory
See what you have
list
cdMove around
change directory
ls -aSee even hidden files
list all
mkdir <folder name>Add a directory (folder)
touch <file name>Add a file
make directory
rm -rf <directory name>Remove a directory (folder)
rm <file name>Remove a file
Practice
sudo apt-get install gitInstall git
git checkout -b <branch name>Make a new Branch
Check the status
git statusgit add <file name>Stage Files
git commit -m <commit message>Commit Changes
git push origin <branch name>Push Changes Up
git clone <github link>Clone down a repo
git fetchFetch Changes
git pull origin <branch name>and
Other Commands
Pull Changes Down