GIT命令总结

1.基本命令

1.1 设置签名

bash 复制代码
git config  --global  user.email xxx
git config  --global  user.name xxx

1.2 初始化本地库

bash 复制代码
git init

1.3 查看本地库状态

bash 复制代码
git status

1.4 查看历史版本

bash 复制代码
git reflog 查看版本信息

git reflog -n 数量

git log 查看版本详细信息
相关推荐
阿民不加班4 小时前
【Git】git拉取远端但是本地存在不想提交文件处理
git
Selina K5 小时前
在windows安装git
git
周杰伦fans12 小时前
如何将 Feature 分支同步到 Master 主分支:一次完整的 Git 合并实战
git
jiayi_199912 小时前
git创建new branch
git
__Witheart__12 小时前
通过交互式 Rebase 合并部分提交到远程分支的操作步骤
git
魔都吴所谓13 小时前
【Tools】Repo 工具完整使用手册
git
tianyuanwo13 小时前
跨 Gerrit 项目迁移分支并保留完整历史:一份可操作的 Git 指南
git·代码迁移
玄奕子13 小时前
VS Code 上传 GitHub 全流程(Windows 环境):HTTP 与 SSH 两种方案(含常见报错排查)
git·http·ssh·github·嵌入式开发
一只游鱼14 小时前
如何让本地的敏感配置文件不上传到git仓库
git·elasticsearch
渣渣馬1 天前
shell的if多条件
git·ssh