Install wsl environment
WSL:在 Win10 安裝適用 Linux 的子系統
Python:Visual Studio Code 在 WSL 中進行開發
How to use git & branch
Notes:Miniconda and Run the Project
Notes: Git Branch Switch & Clone
withhhsong changed 3 years agoBook mode Like Bookmark
在終端機執行 git push origin 命令要把 project 推上 GitHub 的時候遇到詢問使用者名稱跟密碼,在這邊的〔Password〕如果回答你登入 git 的密碼是會報錯的,錯誤訊息如下:
錯誤訊息:
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
官方解釋:https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/
意思是為了安全起見,GitHub 已經不再支援密碼驗證,改成用「使用者在 GitHub 上所生成的 Personal Access Token」來作為 authentication 的 Password,並不是登入 GitHub 時的密碼。
Username: your_username
withhhsong changed 3 years agoView mode Like 1 Bookmark
〔Step 1〕先安裝 WSL
Windows Subsystem for Linux(WSL)的安裝方法可以參考我寫的這篇文章:
WSL:如何在 Win10 系統上安裝 Linux 子系統
〔Step 2〕再安裝 Visual Studio Code
VS Code 下載網址:https://code.visualstudio.com
VS Code 跟 Visual Studio 差別在哪
Visual Studio Code(VS Code)跟 Visual Studio 是不同的,Visual Studio Code 是由微軟開發且跨平台的一款輕量級免費原始碼編輯器。VS Code 可以在 Linux 系統上運行,但 Visual Studio 無法。下圖左邊紫色的 icon 是 Visual Studio,右邊藍色的 icon 才是 VS Code。
withhhsong changed 4 years agoView mode Like 2 Bookmark