随笔分类 -  git

摘要:一、提交项目 命令行中,输入 git init 将文件夹中的内容全部添加到git管理中 git add . 提交 git commit -m 'first commit' 连接github仓库 git remote add origin https://github.com/shench561239 阅读全文
posted @ 2022-02-20 16:20 蔡地像徐坤 阅读(1251) 评论(0) 推荐(0)
摘要:1.使用 git remote add 别名 远程地址 命令起别名,查看当前所有远程地址别名 2.创建hello.txt 3.使用 git push 别名 分支 命令推送失败 4.使用git pull 远程地址别名 master --allow-unrelated-histories 根据错误提示 阅读全文
posted @ 2021-11-06 10:30 蔡地像徐坤 阅读(851) 评论(0) 推荐(0)