Goit is a version control tool just like Git made by Golang.
brew install JunNishimura/tap/Goit
go install github.com/JunNishimura/Goit@latest
init- initialize Goit, make .goit directory where you initadd- make goit object and register to indexcommit- make commit objectrm- remove from the working tree and the indexbranch- manipulate branchesswitch- switch branchesrestore- restore filesreset- reset HEAD to the specified statestatus(NEW FEATURE🎉) - show the working tree statuslog- show commit historyreflog- show reference logconfig- set config. e.x.) name, emailcat-file- show goit object datals-files- show indexhash-object- show hash of filerev-parse- show hash of reference such as branch, HEADupdate-ref- update referencewrite-tree- write tree objectversion- show version of Goit
- tag
- checkout
- merge
- stash
- revert
- diff
- read-tree
- symbolic-ref
- cherry-pick
- rebase
see Installation above.
cd /home/usr/sample goit init
echo "Hello, World" > test.txt
goit add test.txt
goit config --global user.name 'Goit'
goit config --global user.email 'goit@example.com'
goit commit -m "init"
goit rev-parse main
goit cat-file -p `hash`
Perfect!! You now understand the basic of goit🎉
Goit is released under MIT License. See MIT
