Study how to build a github repository
ԅ(¯﹃¯ԅ)
First create a github repository and set the repository name.
Run the code in order in the PowerShell under the target directory:
cd dir_name
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/....
git push origin main
Study how to build a blog
New a post
( •̀ .̫ •́ )✧
Run the code in order in the PowerShell:
cd D:/html
D:/hugo_dir/hugo new post/fileName.md
Push to Github
(。・ω・。)ノ♡
Run the code in order in the PowerShell:
D:/hugo_dir/hugo
cd public
git add .
git commit -m "test"
git push origin main