Notes for exams
Linux
Commands
mkdir <name>
create folder
rmdir <name>
delete folder
ls
list all files
ls -al
list all files even hidden and folders
clear
clear CLI, keeps commands history
Git
Commands
git --help
help
git init
initialize repo
git clone
clone repo
git log
show git history
git log --all --oneline -- foo.bar
finds all the commits with changes on this file
git log --all --oneline -p -- foo.bar
like above but prints history