Branching
git branch -D Branch name # untuk hapus local branch
git push origin --delete Branch name # untuk hapus remote branch
git switch -c Branch name
git checkout -b branch name # nama branch baru
git merge "other branch"
git pull origin branch name
Stash
git stash list # list stash yang di simpan
git stash save "message" # simpan perubahan tanpa di commit
git stash apply "index stash" # mengambil stash yang di simpan
Directory
rm -rf
mv current /to
mkdir
cat
cd
cd ..
File
touch filename
nano filename
grep "error" log.txt # Cari text dalam file
grep "kata" *.txt # Cari di semua file dalam folder