1 min read

Git 流程

#first time
git config --global user.email "email"
cd /loaction/your_folder
git submodule update --init --recursive
pre-commit install
git init

#check
git remote -v #check remote repository
git status #check current condition

#every time
git add .
git commit -m "message"
git push