码迷,mamicode.com
首页 > 其他好文 > 详细

git常用操作

时间:2020-02-23 22:36:10      阅读:51      评论:0      收藏:0      [点我收藏+]

标签:pre   代码   地址   操作   常用   用户   git push   col   邮箱   

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 文件名 要找回的文件

git常用操作

标签:pre   代码   地址   操作   常用   用户   git push   col   邮箱   

原文地址:https://www.cnblogs.com/duansong/p/12354312.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!