Markdown Notes
Markdown BasicsGood Referrences简书官方教程
A YouTube Tutorial
Recommended EnvironmentVscode + markdownlint + Auto-Open Markdown Preview
Syntax Essentials
Headings
code:
1234# Heading1## Heading 2### Heading 3...
effects:
Heading1Heading2Heading3
Italics
code:
12*this text* is italic_this text_ is italic
effects:
this text is italic
this text is italic
Strong
code:
12**this text** is strong__this text__ is strong
effects:
this text is strong
this text is strong
Strikethrough
code:
1~~this text~~ ...
Git基础 学习笔记
git-it(patchwork) 中文版学习笔记
查看git的版本:git –version
设置本地git的用户名和邮箱:
git config –global user.name “yourname”
git config –global user.email “youremail@example.com“
创建本地git仓库:
在当前目录下创建名为Filename的文件夹:mkdir <文件名>
进入新创建的文件夹: cd <文件名>
将文件夹设置为git仓库: git init
向git中提交变更:
检查git仓库的状态:git status
向git中添加要变更的文件:git add <文件名> 或添加全部 git add .
向git提交刚刚添加的文件及其备注信息:git commit -m “本次提交的备注信息”
查看要更新的文件 ...
Git Notes - Undo Commands
Uom workshop for git undo-ing workflow
Wrong initialisation of git
12345git init# wasn't supposed to initialise git hererm -rf .gitcd preferred_foldergit init
Minor update of the latest commit
1234git commit -m "Not the best commit"# need to do a minor modificationgit add .git commit --amend --no-edit
I misspelled the latest commit
123git commit -m "Frist commit"# should be "First" not "Frist"git commit --amend -m "First commit"
I misspel ...