git
文章平均质量分 89
Jason&Zhou
你知道的越多,你不知道的越多!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Git常用命令总结与实践
1.创建文件夹 mkdir learngit 2.初始化learngit变为仓库 git init 3.把文件添加到仓库 git add reademe.txt 或者添加所有 git add . 4.提交到仓库 git commit -m "xxx" 5.配置用户名和e-mail地址(提交的时候要用到) git config --global user.name "XXX" git config --global user.email XXX 6.查看用户名和邮箱 git config user原创 2022-02-13 22:18:59 · 625 阅读 · 0 评论 -
git error:index file smaller than expected
因为索引文件已经毁坏,我们可以重新建立。首先是移除它,然后重新添加到工作区。 rm .git/index git add .原创 2016-10-10 11:14:25 · 4031 阅读 · 0 评论 -
git error:The following untracked working tree files would be overwritten by checkout
Warning: This will delete the local files that are not indexed git checkout -f another-branch another-branch是你想要切换的分支原创 2016-10-10 11:22:19 · 2432 阅读 · 0 评论 -
ubuntu 16.04安装git和qt编译环境命令及其相关内容
1.安装git命令:apt-get install git 2.安装qt编译环境命令: sudo apt-get install build-essential libgl1-mesa-dev原创 2017-04-22 13:28:04 · 1034 阅读 · 0 评论 -
git自用笔记
1.创建文件夹 mkdir learngit 2.初始化learngit变为仓库 git init 3.把文件添加到仓库 git add readme.txt 或者添加所有 git add -u 4.提交到仓库 git commit -m "XXXXX" 5.配置用户名和e-mail地址(提交的时候要用到) git config --global use...原创 2016-09-03 15:55:51 · 701 阅读 · 0 评论
分享