# 將檔案推上Github(入門版) - 網路上的教學文五花八門@@|||,以下直白的流程感謝男友提供 - 首先安裝[Git](https://git-scm.com/) - 除了安裝目錄改成自己喜歡的位置外,其他設定先不要管,瘋狂Next就對了 - 安裝完成後,你會發現你的右鍵選單多了兩個工具 - 打開你要推的檔案所在資料夾,對它按右鍵選清單中圖示為Git的第二個branch工具 - 在Github網頁版新增一個空白專案  - 新增完成後其實會出現一個提示畫面  ```git= echo "# Test" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/x200706/Test.git git push -u origin main ``` 依序將上面這些指令碼**一行一行**輸入進指令工具中 - 全部完成後重新整理頁面,就會看到檔案出現在Github的專案下方了
×
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