rosemarYuan/learngit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
1. 创建一个新的GIT仓库:
git init
2. 查看暂存区状态:
git status
3. 添加文件到暂存区:
git add <file>
4.提交更改(暂存区->分支):
git commit -m "提交信息"
5. 查看修改:
git diff
6.查看提交日志:
git log