avatar
bluenex
•
abroad•ai•android•arduino•bun•dev-tools•git•jekyll•life•nextjs•note•song•tailwindcss•trip•web•wsl

Git Merge or Rebase, What to Choose?

When you are opening a pull request (PR) there is a chance that the main branch is ahead of the branch you are working with. If you don't need those changes in your branch, you neither need to merge nor rebase. However, sometimes you might need those changes in your branch — what method should you do, `merge` or `rebase`?

tags: git
13 พ.ย. 65

นับคอมมิทใน Git Repo กันดีกว่า

เป็นธรรมดาที่เมื่อถึงจุดๆ นึงก็จะอยากรู้ว่าเราทำอะไรไปบ้างแล้ว มากขนาดไหนกัน โดยเฉพาะเมื่อใช้ git ที่บันทึกทุกอย่างตั้งแต่เริ่มสร้าง repo ยิ่งน่าสนใจ คำตอบของคำถามที่เป็นชื่อของโพสต์นี้ก็ไม่ยากเลย กูเกิลสิครับ ปะ ขอแบ่งเป็นนับแยกกับนับรวมละกัน

tags: git
4 มี.ค. 60
GitHub iconTwitter icon