CIE-150 Git | Linux

Post #181 written by Khodok in Code

Content

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

Comments

Please Log in to leave a comment.

No comments yet.