instruction | do | remark |
---|---|---|
git config –list | 查看設定 | 使用指定編輯器 |
git config –local user.name <userName> | 標示作者 | 對個別repository |
git config –local user.email <e-mail> | 標示信箱 | 對個別repository |
git config –global user.name <userName> | 標示作者 | 全域 |
git config –global user.email <e-mail> | 標示信箱 | 全域 |
git config –global core.editor <編輯器> | 指定編輯器 |
instruction | do | remark |
---|---|---|
git init | 初始化repositotry | 對所在路徑轉化 |
git init <路徑> | 初始化repositotry | 對指定路徑新建 |
git init –bare | 初始化repositotry | 省略工作目錄(.git) |
git config –global core.editor | ||
instruction | do | remark |
---|---|---|
instruction | do | remark |
---|---|---|
instruction | do | remark |
---|---|---|
instruction | do | remark |
---|---|---|