Skip to content

Commit

Permalink
CommitList Plug-in (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakotoE authored Nov 6, 2023
1 parent 6546001 commit e1a8ebb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion en/howto/plugin/plugin_commit_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Right-clicking on a changed file in the sidebar will show a menu with commands f
- **Open File** opens that file in the editor.
- **Stage** and **Unstage** are equivalent to the commands `git add` and `git reset`.
- Unstaged files have the option to **Undo Changes** to revert the file to the last commit state.
- If a submodule is listed, **Update Submodule** will call `git submodule update --init` to update the files in the submodule to its current `HEAD`.
- If a submodule is listed, **Update Submodule** will call [`git submodule update --init`](https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt-update--init--remote-N--no-fetch--no-recommend-shallow-f--force--checkout--rebase--merge--referenceltrepositorygt--depthltdepthgt--recursive--jobsltngt--no-single-branch--filterltfilterspecgt--ltpathgt82308203) to update the files in the submodule to its current `HEAD`.
- **Refresh** will refresh the changed files list.

CommitList monitors the file system so that if a file in the repo directory was modified by an external program, the sidebar is refreshed.
Expand Down
2 changes: 1 addition & 1 deletion zh-cn/howto/plugin/plugin_commit_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- **打开文件**会打开编辑器中的文件。
- **暂存****取消暂存**相当于 `git add``git reset` 命令。
- 未暂存的文件可以选择**撤消更改**以将文件恢复到上次提交状态。
- 如果列出了子模块,**更新子模块**将调用 `git submodule update --init` 来将子模块中的文件更新到其当前的 `HEAD`
- 如果列出了子模块,**更新子模块**将调用 [`git submodule update --init`](https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt-update--init--remote-N--no-fetch--no-recommend-shallow-f--force--checkout--rebase--merge--referenceltrepositorygt--depthltdepthgt--recursive--jobsltngt--no-single-branch--filterltfilterspecgt--ltpathgt82308203) 来将子模块中的文件更新到其当前的 `HEAD`
- **刷新**将刷新更改的文件列表。

提交列表插件会监视文件系统,如果仓库目录中的文件被外部程序修改,则会刷新侧边栏。
Expand Down
2 changes: 1 addition & 1 deletion zh-tw/howto/plugin/plugin_commit_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- **打開檔案**會打開編輯器中的檔案。
- **暫存****取消暫存**相當於 `git add``git reset` 命令。
- 未暫存的檔案可以選擇**復原變更**以將檔案恢復到上次提交狀態。
- 如果列出了子模塊,**更新子模塊**將調用 `git submodule update --init` 來將子模塊中的檔案更新到其目前的 `HEAD`
- 如果列出了子模塊,**更新子模塊**將調用 [`git submodule update --init`](https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt-update--init--remote-N--no-fetch--no-recommend-shallow-f--force--checkout--rebase--merge--referenceltrepositorygt--depthltdepthgt--recursive--jobsltngt--no-single-branch--filterltfilterspecgt--ltpathgt82308203) 來將子模塊中的檔案更新到其目前的 `HEAD`
- **重新整理**將重新整理變更的檔案清單。

提交清單外掛程式會監視檔案系統,如果倉儲目錄中的檔案被外部程式修改,則會重新整理側邊欄。
Expand Down

0 comments on commit e1a8ebb

Please sign in to comment.