# Git 20211217 ## Git ### [ Install Git ](https://git-scm.com/) ### [Fork](https://git-fork.com/) ### [Git book](https://gitbook.tw/) ## Git的基本功(status, add, commit, log, .gitignore) or create a new repository on the command line ```shell= echo "# mysite" >> README.md #code . #vim .gitignore git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/xxx/mysite.git git push -u origin main ``` ## [Git & GitHub 入門](https://quip.com/pFUnA7u75HbL) ## 指令 ```shell= $ git init $ git status # add file $ git add <file> $ git commit -m "<message>" $ git log ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up