![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
不吃香菜的小斌
这个作者很懒,什么都没留下…
展开
-
git使用手记
git --version // 查看git版本号 git config --global user.name '用户名' // 配置git用户 git config --global user.email '邮箱' // 配置git邮箱 git config --global --list // 检查git账号及邮箱配置是否正确 git init // 初始化git仓库 git add . // 将本地所有代码提交至暂存区 git add 文件名 // 将本地指定文件提交至暂存区(文件名不需要加引号) g原创 2021-08-08 20:15:07 · 90 阅读 · 0 评论 -
本地项目与码云项目同步
本地项目与码云项目同步 1、本地项目 git init 2、git remote add origin + 码云上到项目https路径 3、git pull origin master 命令,将码云上的仓库pull到本地 4、git add . 5、git commit -m ‘添加的内容描述’ 6、git push origin master ,本地仓库推送到远程仓库 ...原创 2021-08-01 12:29:58 · 129 阅读 · 0 评论