GitHub

1.事前準備

  • 註冊GitHub帳號
  • 確認已安裝Git

2.環境設定

1
2
3
4
5
6
git config --global user.email "your@example.com"
git config --global user.name "Your Name"
git config --global color.ui true
git config --global alias.co commit
git config --global alias.lg "log --color --graph --all --pretty=format:'%Cred%h%Creset
-%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"

3.git init