Git設定Tip
Git設定Tip
這篇將介紹幾個Git設定上的Tip~
將rebase當做pull的預設值
1 | $ git config --global pull.rebase true |
將no-fast-foward當作merge的預設值
1 | $ git config --global merge.ff no |
將prune設為fetch的預設值
1 | $ git config --global fetch.prune true |
這篇將介紹幾個Git設定上的Tip~
將rebase當做pull的預設值
1 | $ git config --global pull.rebase true |
將no-fast-foward當作merge的預設值
1 | $ git config --global merge.ff no |
將prune設為fetch的預設值
1 | $ git config --global fetch.prune true |