An open API service indexing awesome lists of open source software.

https://github.com/lamdav/wyag

Write-yourself-a-git
https://github.com/lamdav/wyag

click git learning-by-doing

Last synced: 2 months ago
JSON representation

Write-yourself-a-git

Awesome Lists containing this project

README

          

# Write Yourself A Git!
Following this [guide](https://wyag.thb.lt/)

## Description
This is my attempt at understanding `git`'s inner mechanism of
how it stores data and going about implementing some of its porcelain and plumbing commands. I would recommend anyone curious or has the time to try out the tutorial rather than just reading about it.

## Click Boilerplate?
Clone the repo.
```
git checkout click_boilerplate
git checkout -b
```

## Setup
```
pipenv install
pipenv shell
pip install -e .
```

## Notes
I didn't want to use `argparse` library so I opted
to use `click`. There were some renaming of functions, variables, etc. here and there as it made more sense to me reading it one way vesus another. Objects were written somewhat differently to what I thought was best at the time.

## Considerations/Todos
- [ ] Improve logging :'(
- [ ] Refactor/Less reliance on util level methods