Commit Carefully
Ideally I suggest using semantic-git-commit-cli but I wanted to learn how that package works while learning Golang side by side.
- Git
- Vim
-
MacOs -
go build -o build/oni
sudo mv ./build/oni /usr/local/bin/
- Restart terminal.
- In any git repository folder, type
oni
and press enter.
-
Windows -
go build -o build/oni.exe
- Move the executable file to any folder. Example :
C:\<Any Folder>\oni.exe
- Copy path to that folder. Example :
C:\<Any Folder>\oni
- Add the path to the environment variable.
- Restart terminal.
- In any git repository folder, type
oni
and press enter.