git error: remote origin already exists

Sometime when we initialize the Local Repo, we get error: remote origin already exists.
The following step is solution.
Initialize the current folder as a Git repo:
bitnami@debian:~$ git init
bitnami@debian:~$ git remote add origin [email protected]:username/repostioryname.git
Then, error occurs:
error: remote origin already exists.
We need to remove the older origin by:
bitnami@debian:~$ git remote rm origin
Then, add the origin again:
bitnami@debian:~$ git remote add origin [email protected]:username/repostioryname.git
Add files:
bitnami@debian:~$ git add .
Commit with the descriptive message:
bitnami@debian:~$ git commit -m "Comment message"
Push the changes:
bitnami@debian:~$ git push -u origin master

Ref:
gitのエラー remote origin already existsの解決方法

Jekyll ดีเปล่า?

ทำตามนี้เลย Step by Step Tutorial แต่รันบน Ubuntu (bash on WSL2)

    1. Installation Guide –> Installation via Bash on Windows 10
      Ref: Windows Subsystem for Linux Installation Guide for Windows 10
    2. Quickstart (Create a blog)
      • Create a new Jekyll site at ./Incomplete by following –> Instructions (use “Incomplete” instead of “myblog”)
    3. Step by Step Tutorial (Create a site)

setting-up-a-github-pages-site-with-jekyll

Others:

Other Refs for zsh (upgrading from Bash to Z-shell):

บทความต่างๆ