CIE-150 Git | Linux

Archives by Year - Month - Week - Day - Today

Post #181

EN

CIE-150 Git | Linux

Monday, 14 December 2020 16:13:00 by Khodok

1 min read

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

Some more in-depth help

Git the simple guide