git常用操作

git config --global user.name '用户名'
git config --global user.email '邮箱'
git clone '仓库地址'
git add 文件名
git commit -m '提交信息'
git push 推送至github
git pull 获取github的代码
git checkout 文件名 要找回的文件
posted @ 2020-02-23 21:11  Duanson  阅读(106)  评论(0编辑  收藏  举报