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
- Host: GitHub
- URL: https://github.com/lamdav/wyag
- Owner: lamdav
- Created: 2019-03-21T09:17:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T09:18:08.000Z (over 7 years ago)
- Last Synced: 2025-02-24T03:32:57.619Z (over 1 year ago)
- Topics: click, git, learning-by-doing
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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