git简单用法


git简单用法


git init

git config --global user.email "you@example.com"

git config --global user.name "Your Name"

git clone https://git.duapp.com/appid546

git add filename

git commit -m "info"

git push -u origin master

# 回退到上一个版本

git reset --hard HEAD~1

git push --force


发表回复