Skip to content

Commit 60d53b3

Browse files
committed
优化 Git push --force增加备注说明
1 parent 129cef7 commit 60d53b3

File tree

6 files changed

+12
-1
lines changed

6 files changed

+12
-1
lines changed

en/Tutorial/SourceControl/Git/MacOSX.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ Project, right-click menu 【Git pull】
3636
Project, right-click menu 【Git Push】
3737

3838
<img src="/static/snapshots/tutorial/source_control/git-new-push-en.png" style="zoom:50%; border: 1px solid #eee;" />
39-
39+
40+
**备注**:git push --force: 表示将目前自己本机的代码库推送到远端,并覆盖。请谨慎使用。
4041

4142
## Commit
4243

en/Tutorial/SourceControl/Git/Windows.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Project, right-click menu 【Git Push】
4747

4848
<img src="/static/snapshots/tutorial/source_control/git-new-push-en.png" style="zoom:50%; border: 1px solid #eee;" />
4949

50+
**备注**:git push --force: 表示将目前自己本机的代码库推送到远端,并覆盖。请谨慎使用。
51+
5052
## Shortcut key configuration
5153

5254
1. toop menu, 【tool】-->【custom keybindings】

zh-cn/Tutorial/SourceControl/Git/MacOSX.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ HBuilderX顶部菜单,【工具】-> 【插件安装】,即可打开插件
3333

3434
<img src="/static/snapshots/tutorial/source_control/git-new-push.png" style="zoom:50%; border: 1px solid #eee;" />
3535

36+
**备注**:git push --force: 表示将目前自己本机的代码库推送到远端,并覆盖。请谨慎使用。
37+
3638
## 提交
3739

3840
1. 在要提交的文件、或目录、或项目上,右键菜单,点击【提交】

zh-cn/Tutorial/SourceControl/Git/Windows.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ HBuilderX顶部菜单,【工具】-> 【插件安装】,即可打开插件
3939

4040
<img src="/static/snapshots/tutorial/source_control/git-new-push.png" style="zoom:50%; border: 1px solid #eee;" />
4141

42+
**备注**:git push --force: 表示将目前自己本机的代码库推送到远端,并覆盖。请谨慎使用。
43+
4244
## 快捷键配置
4345

4446
1. 点击菜单【工具】-->【自定义快捷键】

zh-hant/Tutorial/SourceControl/Git/MacOSX.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ HBuilderX頂部菜單,【工具】-> 【插件安裝】,即可打開插件
3333

3434
<img src="/static/snapshots/tutorial/source_control/git-new-push.png" style="zoom:50%; border: 1px solid #eee;" />
3535

36+
**备注**:git push --force: 表示将目前自己本机的代码库推送到远端,并覆盖。请谨慎使用。
37+
3638
## 提交
3739

3840
1. 在要提交的文件、或目錄、或項目上,右鍵菜單,點擊【提交】

zh-hant/Tutorial/SourceControl/Git/Windows.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ HBuilderX頂部菜單,【工具】-> 【插件安裝】,即可打開插件
3939

4040
<img src="/static/snapshots/tutorial/source_control/git-new-push.png" style="zoom:50%; border: 1px solid #eee;" />
4141

42+
**备注**:git push --force: 表示将目前自己本机的代码库推送到远端,并覆盖。请谨慎使用。
43+
4244
## 快捷鍵配置
4345

4446
1. 點擊菜單【工具】-->【自定義快捷鍵】

0 commit comments

Comments
 (0)