1 Star 0 Fork 36

李力源/python2023

forked from 闻香茶主/Python2024 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Git操作.ipynb 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
闻香茶主 提交于 2年前 . 20230403

Git 操作入门


1. 用Git Clone建立本地库

2. 用Git init建立本地仓库结构

  • 1 设置全局参数

    • Git config --global user.name <"best_tea">
    • Git config --global user.email <"best-tea@163.com">
  • 2 初始化仓库

    • git init 目录名 :一般是用云端仓库名做目录
    • Git init < Python2023 >
      建立一个本地目录,并建立git结构
    • 2.1 cd 目录名
    • 2.2 git add .
    • 2.3 git commit
  • 或者

    • md python2023
    • cd python2023
    • git init
    • git add .
    • git commit
  • 3 建立远端连接

  • 4 比较本地库和远端库,拉回远端结构

    • git fetch origin master
  • 5 把远端库拉回本地

    • git pull -u origin master

Git 使用说明

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/a1934292479/python2023.git
git@gitee.com:a1934292479/python2023.git
a1934292479
python2023
python2023
master

搜索帮助

371d5123 14472233 46e8bd33 14472233