随笔分类 -  git

摘要:Origin中存放的是远程仓库的地址 如果远程仓库地址为https://xxxxxxxxxxx.git 那么 git push Origin git push https://xxxxxxxxxxx.git 是没有区别的。 阅读全文
posted @ 2023-12-09 12:11 一叁五 阅读(5) 评论(0) 推荐(0) 编辑
摘要:git push <被推送仓库地址> <当前仓库分支>:<被推送仓库分支> 推送失败可以使用强制推送(慎用) git push <被推送仓库地址> <当前仓库分支>:<被推送仓库分支> --force 阅读全文
posted @ 2023-12-08 17:31 一叁五 阅读(4) 评论(0) 推荐(0) 编辑
摘要:git config --global --list 阅读全文
posted @ 2023-12-08 13:18 一叁五 阅读(4) 评论(0) 推荐(0) 编辑
摘要:git clone -b <分支名> <远程仓库地址> 阅读全文
posted @ 2023-12-04 14:45 一叁五 阅读(0) 评论(0) 推荐(0) 编辑