- git config
- git init
- git clone
- git add
- git commit
- git diff
- git reset
- git status
- git rm
- git log
- git show
- git tag
- git branch
- git checkout
- git merge
- git remote
- git push
- git pull
- git stash
展開詳細的介紹:
git config
[用法:git config –global user.name “name]”
[用法:git config –global user.email “email address]”
該指令将分别設定送出代碼的使用者名和電子郵件位址。
git init
用法:git init [repository name]
該指令可用于建立一個新的代碼庫。
備注:其實在實際應用中都是先去建倉庫,然後進行一個倉庫的關聯就ok了,很少使用指令
去建立倉庫
git clone
用法:git clone [url]
該指令可用于通過指定的URL擷取一個代碼庫。