git cheat sheet

Compare your working copy with the upstream

git diff @{upstream}

ไม่ต้องสนใจไฟล์นี้

git update-index --skip-worktree robots.txt;

ถ้าจะเอาคืนกลับมาเหมือนเดิมก็

git update-index --no-skip-worktree robots.txt;

จำรหัส

git config --global credential.helper store

Leave a comment