Tag: git
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
Jekyll ดีเปล่า?
ทำตามนี้เลย Step by Step Tutorial แต่รันบน Ubuntu (bash on WSL2)
-
- Installation Guide –> Installation via Bash on Windows 10
Ref: Windows Subsystem for Linux Installation Guide for Windows 10 - Quickstart (Create a blog)
- Create a new Jekyll site at ./Incomplete by following –> Instructions (use “Incomplete” instead of “myblog”)
- Step by Step Tutorial (Create a site)
- Installation Guide –> Installation via Bash on Windows 10
setting-up-a-github-pages-site-with-jekyll
Others:
- Import your old & busted site or blog for use with Jekyll
- Migrate from WordPress to Jekyll
- Configuring a custom domain for your GitHub Pages site
- Getting started with GitHub Pages
- Setting up a GitHub Pages site with Jekyll
- ☆☆My github profile☆☆彡
Other Refs for zsh (upgrading from Bash to Z-shell):
- What is Oh My Zsh?
- Getting started with Zsh
- 10 Zsh Tips & Tricks: Configuration, Customization & Usage←ใช้อันนี้ดูการ Install zsh and oh-my-zsh
บทความต่างๆ