Installation

WSL2

I followed the instructions here:

Oh my zsh

https://github.com/ohmyzsh/ohmyzsh

For a nice configuration, use powerlevel10k:

https://viblo.asia/p/cai-oh-my-zsh-powerlevel10k-toi-uu-va-su-dung-phim-tat-cho-terminal-ORNZqowM50n

https://thuanbui.me/len-doi-terminal-voi-zsh-va-oh-my-zsh/

Git

  1. Global Git configuration is the same as what I do on Git in Windows. For example:
git config --global user.name "Le Thi"
git config --global user.email "[email protected]"
  1. For the Authentication section, I use a Personal Access Token (PAT):

Step 1: Go to the token creation page using this direct link: **https://github.com/settings/tokens/new**

Step 2: Use the PAT in the Terminal

Now, return to the terminal and run your Git command again (e.g., git push).

Step 3: This command will save your token to a plain text file on your computer. (Not secure)