随笔分类 -  git

git 使用
摘要:1、 常用的git命令 Git 常用的六个命令是什么? ·“git clone”克隆代码; ·“git log”查看日志; ·“git tag”查看标签; ·“git branch”查看分支; ·“git branch -a”查看远程分支; ·“git pull”拉取。 2、 新建代码 在当前目录新 阅读全文
posted @ 2023-06-06 11:33 zlf2000 阅读(259) 评论(0) 推荐(0)
摘要:vscode远程git或在linux环境使用git时,每次clone都要输入帐号密码,很不方便,可以使用下面一行命令,系统会记录你输入的下一次帐号密码。(明文记录,注意规避风险) # 执行 git config --global credential.helper store git reset - 阅读全文
posted @ 2023-03-07 14:05 zlf2000 阅读(92) 评论(0) 推荐(0)
摘要:Your local changes to the following files would be overwritten by mergeerror: Your local changes to the following files would be overwritten by merge: 阅读全文
posted @ 2022-05-16 08:44 zlf2000 阅读(517) 评论(0) 推荐(0)