Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mizok/git-commands-logger
git command logger shell(zsh)
https://github.com/mizok/git-commands-logger
Last synced: 6 days ago
JSON representation
git command logger shell(zsh)
- Host: GitHub
- URL: https://github.com/mizok/git-commands-logger
- Owner: mizok
- Created: 2023-10-26T14:17:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-16T15:20:30.000Z (about 1 year ago)
- Last Synced: 2024-11-02T00:42:03.588Z (about 2 months ago)
- Language: Shell
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-command-logger
git command logger shell(zsh)用來記錄macOS終端機 `git` 指令操作的小工具。
## 安裝方法
請執行以下程序
```zsh
sh -ec "$(curl -fsSL https://raw.githubusercontent.com/mizok/git-commands-logger/main/installer.sh)"
```## 使用方法與注意事項
1. 若有妥善安裝, 則每次打開`terminal`都會執行本腳本
2. 若偵測到當前terminal的path為`git workspace`(有`git`版控的資料夾)時, 就會自動開始偵測並記錄`git`操作
3. 本腳本的log檔案會存放在`$HOME/.git_commands_logger/logs/`底下
4. 請注意, 若不開啟偵測全域 `git hooks` 功能, 本腳本將無法紀錄`VSCode`內建版控 或 透過 `GUI` 發出的 `git` 操作