,294,298,306,308,309,310,

Git 常用命令记录

飘逸的风3年前 (2022-08-31)759
代码推送到远端仓库初始化一个仓库mkdir test_git/  && cd test_git/初始化gitgit init添加代码touch index.phpgit ad...

Linux 配置gitee

飘逸的风3年前 (2022-08-31)632
Linux 配置gitee
安装好git后, 如何配置连接至gitee ?首先, 需要在官网注册一个gitee账号, 然后进行以下配置步骤:1. 设置账号$ git config --global user.name &q...

git常见错误记录(Your local changes to the following files would be overwritten by merge)

飘逸的风3年前 (2022-08-29)548
git常见错误记录(Your local changes to the following files would be overwritten by merge)
不常git不是一个好习惯。一旦git就会发现一堆错误,当着急分享代码给小伙伴的时候,这就情况不妙了,所以贴一些我遇到的错误。当利用git bash向已存在的库中上传新代码时执行 git push or...

Git中解除项目中已经忽略的文件及文件夹

飘逸的风3年前 (2022-07-11)547
重新添加已经被忽略过的文件时,我们仅仅使用git add是不行的,因为git仓库中根本没有那个文件,这时候我们需要加上-f参数来强制添加到仓库中,然后在提交。比如上面设置了忽略排除的文件min.vue...