18 poin oleh xguru 2020-11-11 | Belum ada komentar. | Bagikan ke WhatsApp

Koreksi otomatis typo $ git config --global help.autocorrect 1

Menghitung jumlah commit $ git rev-list --count

Optimasi repo $ git gc --prune=now --aggressive

Mencadangkan file yang tidak dilacak $ git ls-files --others --exclude-standard -z | xargs -0 tar rvf ~/backup-untracked.zip

Melihat file dari branch lain $ git show main:README.md

Mencari di Git $ git rev-list --all | xargs git grep -F ‘’

Memahami folder .git

$ cat .git/HEAD

$ cat .git/description

Belum ada komentar.

Belum ada komentar.