# GITHUB ## 本地端 >初始化 >git init >加檔案(處存更新) >git add . >提交檔案 >git commit -m "描述檔案" >回到步驟 >git **checkout** [commit編碼前五碼以上] >切換分支 >git **checkout** [branch的名稱] > 看分支(綠色的是目前所在分支) > git branch ## 遠端 >設定一個端節的節點 >git **remote add** 名稱 網址 >放檔案上去 >git **push** 名稱 master >把檔案拉下來 >git **pull** 名稱 master ## else >檢視紀錄 >git log >檢視你已經設定好的遠端版本庫 >git remote >![Uploading file..._pjwy083t2]() >![Uploading file..._j2tkwzedi]()
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up