Skip to content

保留檔案變更歷史 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
archerindigo opened this issue Jul 28, 2021 · 4 comments
Open

保留檔案變更歷史 #2

archerindigo opened this issue Jul 28, 2021 · 4 comments
Assignees

Comments

@archerindigo
Copy link

建議每次更新表格檔案時不用更改檔案名稱,或將檔案更名動作於一次commit內完成,而不是用一個commit移除舊檔案再用另一個commit加入新檔案。

以上做法可令git追縱檔案內容的變更歷史,方便第三方輸入法軟體作者可以按更新內容更新其輸入法。

@gontera gontera self-assigned this Aug 2, 2021
@gontera
Copy link
Owner

gontera commented Aug 2, 2021

array30.cin 是我從行列輸入法發明人廖明德先生提供的原始對照檔轉製而來,因為我不是原創者(只是將對照檔改成 OpenVanilla 與 gcin 等輸入法軟體支援的 .cin 格式),故有關您建議事項,目前實施上有困難,不便之處,盼請見諒。

@archerindigo
Copy link
Author

了解。

看來你的所有更新操作都是在github上的介面操作而不是使用git吧,那確實比較困難,因為每次上傳新版你都要先將舊檔案移除再上傳新版,分成了兩個操作令git無法追縱檔案歷史。但如果是用git上傳檔案的話其實即使新版cin檔案名稱不同但內容相近,git也能將舊檔案和新檔案的歷史連結起來追縱。

@archerindigo
Copy link
Author

方便的話也可以在每次正式發佈新版本時tag一個release發佈版本,效果如這樣,可較易追蹤不同時期的更動

1
2
image

@MisterFISHUP
Copy link
Contributor

同意頂樓建議。另外文字檔的話 (.txt, .cin, ...) 可以直接用 github 界面的鉛筆按鈕編輯會直接有 git 紀錄。

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants