A toy version of git written in C.
- Repository initialization
- File staging
- Commits
- Branching and Merging
- Status
- Stash
- Checkout
- Reset
- Hashing (SHA-1)
git clone git@github.com:SavvyHex/babygit.git
cd babygit
makeThis will create the bin/ folder inside which the babygit executable will exist.
git clone git@github.com:SavvyHex/babygit.git
cd babygit
./install.shAfter installation, you can initialize a babygit project using the following command.
babygit init babygit add . babygit commit "Initial Commit" "SavvyHex" babygit branch testing babygit checkout main babygit status babygit merge main babygit stash