摘要: 转自:https://www.jianshu.com/p/df6c3f14f7f7 1.新建git用户 注意要选择管理员角色。 在系统偏好设置->共享 中,选择远程登录,勾选git用户允许访问。 2.Git server设置 本地开一个终端,默认用户登陆, ssh git@yourComputerN 阅读全文
posted @ 2022-08-10 09:46 lypbendlf 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 1.简单git操作 在目录下新建一个a.txt文件,查看仓储状态: 未跟踪的文件U。 % git status -s #加-s参数结果会更精简 M a.txt 2.git add . https://www.runoob.com/git/git-add.html git add 命令可将文件添加到暂 阅读全文
posted @ 2022-08-10 00:38 lypbendlf 阅读(25) 评论(0) 推荐(0) 编辑