git and linux commands

没有找到与「git and linux commands」相关的内容

AI 回答 由 glm-4-flash 生成 · 仅供参考,请自行核实
1. 查看当前分支:`git branch`
2. 创建新分支:`git branch <name>`
3. 切换分支:`git checkout <name>`
4. 合并分支:`git merge <name>`
5. 查看提交历史:`git log`
6. 撤销操作:`git reset --hard <commit-hash>`
7. 添加文件到暂存区:`git add <file>`
8. 提交更改:`git commit -m "commit message"`
9. 克隆仓库:`git clone <url>`
10. 查看文件差异:`git diff <file>`
没有找到「git and linux commands」相关的内容

建议:检查关键词是否有错别字,或换一个更常见的说法。