แก้คำผิดอัตโนมัติ $ git config --global help.autocorrect 1

นับจำนวนคอมมิต $ git rev-list --count

ปรับแต่ง Repo ให้เหมาะสม $ git gc --prune=now --aggressive

สำรองไฟล์ที่ไม่ถูกติดตาม $ git ls-files --others --exclude-standard -z | xargs -0 tar rvf ~/backup-untracked.zip

ดูไฟล์จากอีกบรานช์ $ git show main:README.md

ค้นหาใน Git $ git rev-list --all | xargs git grep -F ‘’

ทำความเข้าใจโฟลเดอร์ .git

$ cat .git/HEAD

$ cat .git/description

ยังไม่มีความคิดเห็น

ยังไม่มีความคิดเห็น