lhl
首页
python
leetcode
产品思想
软件测试
博客 (opens new window)
github (opens new window)
首页
python
leetcode
产品思想
软件测试
博客 (opens new window)
github (opens new window)
  • python

  • leetcode

  • 软件测试

  • Git

    • Git 基础
    • Git 命令
      • git init
      • git add
      • git commit
      • git status
      • git log
    • Git Branch-分支
  • linux

  • 产品

  • MySql

  • docker

  • Git
2023-08-14
目录

Git 命令

# git init

初始化仓库

# git add

添加文件到暂存区

git add <file>
## or 全部添加
git add .

# git commit

提交文件到本地仓库

<!-- 单行 -->
git commit -m <message>
<!-- 多行 -->
git commit

# git status

掌握工作区的状态,是否有文件状态

git status

# git log

查看提交历史

git log --oneline --decorate --graph --all
Git 基础
Git Branch-分支

← Git 基础 Git Branch-分支→

最近更新
01
lhl learn notes
02
filter
06-09
03
decorator
06-09
更多文章>
Theme by Vdoing
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式