随笔分类 -  git

摘要:git remote -v 查看当前所有远程地址别名 git remote add 别名 远程地址 192:git_demo futantan$ git remote add git_demo https://github.com/Clairedandan/git_demo.git 192:git_ 阅读全文
posted @ 2024-03-03 14:02 正霜霜儿 阅读(33) 评论(0) 推荐(0) 编辑
摘要:今天在push code 的时候发现报了如下的错误 remote: Support for password authentication was removed on August 13, 2021. 根据提示发现需要update github 的token , https://github.co 阅读全文
posted @ 2024-03-03 13:25 正霜霜儿 阅读(96) 评论(0) 推荐(0) 编辑
摘要:git branch -v 可以用来查看分支 git branch xxx 可以创建出xxx 的分支名 git checkout new_branch1 切换到new_branch1 上来 然后可以针对这个分支对文件进行修改和提交,如下所示 如果此时切换到master 中来,发现文件又恢复到原始ma 阅读全文
posted @ 2024-03-02 15:27 正霜霜儿 阅读(26) 评论(0) 推荐(0) 编辑
摘要:1. Git 常用命令 192:Desktop futantan$ git config --global user.name dandan_claire 192:Desktop futantan$ git config --global user.email 291990515@qq.com 19 阅读全文
posted @ 2024-03-02 13:09 正霜霜儿 阅读(5) 评论(0) 推荐(0) 编辑
摘要:今天测试,发现之前写的auto testcase,有好多发生了改变,因此需要修改脚本重新上传至git当中。 对好几个test case script 进行了修改,之前只是一个一个的修改,这次是多个,经过百度,发现是可以多个文件上传至git的。 1> git add file1 file2 (两个文件 阅读全文
posted @ 2019-08-22 15:48 正霜霜儿 阅读(6681) 评论(0) 推荐(0) 编辑
摘要:这个错误是说没有.git文件,万能的百度是说:自己新建.git,用command git init. 经过实验,可以暂时解决这个问题。但是新的问题又出现了,我git commit 不了,update不了我刚刚新建的文件到git 网站。 经过研究,发现,我的操作的位置是不对的,应该在git clone 阅读全文
posted @ 2019-06-13 19:55 正霜霜儿 阅读(13368) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示