查看“︁Git/提交修改”︁的源代码
来自康健生活
←
Git/提交修改
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
== 提交 == === add === {| class="wikitable" |- ! 参数!! 描述 !! 示例 |- | . || 当前目录全部,递归子目录 || git add . |- | --all || 当前项目全部,递归子目录 || git add --all |- | 文件相对地址 || 部分 || git add src/a.js |} === commit === == 命令合并 == 现在我们将文件 a.js 加入暂存区并提交 commit 信息。 <syntaxhighlight lang="bash"> git add /src/a.js git commit -m "edit the file"</syntaxhighlight> 可以将存储至暂存区和打 commit 的两个命令进行简化为一行。 <syntaxhighlight lang="bash"> git commit -a -m "edit the file" </syntaxhighlight>
此页面嵌入的页面:
模板:Hcdiff
(
查看源代码
)
模板:Hcdiff/style.css
(
查看源代码
)
模板:Shc
(
查看源代码
)
模板:Shc/style.css
(
查看源代码
)
模板:Shc out
(
查看源代码
)
模板:Shc out/style.css
(
查看源代码
)
返回
Git/提交修改
。
导航菜单
康健生活
搜索
user-page
通知
user-interface-preferences
个人工具
登录
五一
多读书,多运动,多到远处走走,再看看不一样的世界。