Shallow clone repo เก่า
13 ตุลาคม 2563
ถ้าไม่ต้องการประวัติ git ทั้งหมดของ repo ที่จะทำงานด้วย ให้ระบุ depth ตอน clone เพื่อดึงมาแค่ x revision
git clone --depth=1 https://github.com/my/repo.git
ถ้าไม่ต้องการประวัติ git ทั้งหมดของ repo ที่จะทำงานด้วย ให้ระบุ depth ตอน clone เพื่อดึงมาแค่ x revision
git clone --depth=1 https://github.com/my/repo.git
แค่ใส่ space ไว้หน้าคำสั่ง คำสั่งนั้นก็จะไม่ถูกบันทึกลง ~/.bash\_history เช่น qrencode -o out.png "Some secret text"
การอัปเกรด postgres ทำได้โดยรัน
เปิด term (หรือโปรแกรมที่คล้ายกัน) แล้ววางคำสั่งต่อไปนี้: