Giter VIP home page Giter VIP logo

git-python-rewrite's Introduction


Logo

TFT git python rewrite

Best way to learn git....Write your own
Explore the docs ยป

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

Video tutorial Project image
Just rewriting Git in python. Why?

Here's why:

  • Is fun
  • To finally get it

Classes

(back to top)

GitRepository

  1. Description: the repository object
  2. Attributes:
    • worktree: the work tree is the path where the files that are meant to be in version control are
    • gitdir: the git directory is the path where git stores its own data. Usually is a child directory of the work tree, called .git
    • conf: is an instance of the class ConfigParser, from the external module configparser, used to read and write INI configuration files

GitObject

  1. Description: base class that abstracts the common features of different object types (e.g., blob, commit, tag or tree)
  2. Methods:
    • init: will be used by the derived class to create a new empty object if needed (optional)
    • deserialize: will be used by the derived class to convert the data into an object (mandatory)
    • serialize: will be used by the derived class to convert the object into a meaningful representation (mandatory)

(back to top)

Built With

  • Python

(back to top)

Getting Started

Prerequisites

  • Python version 3.10 or higher

Installation

(back to top)

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

Init Command

To initialize a new empty TFT repository, use the following command:

tft init [path]

where [path] is the optional path where the repository will be created. If not provided, the repository will be created in the current directory.

For more examples, please refer to the Documentation

(back to top)

License

(back to top)

Contact

(back to top)

Acknowledgments

A few of helpful link

(back to top)

git-python-rewrite's People

Contributors

alessandromarcellini avatar byluca avatar dariotheluca avatar fedesavage avatar gabrycina avatar games195 avatar garydevv avatar giacomo-rolandi avatar lomws avatar marcomit avatar pietrodev07 avatar vipaolo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-python-rewrite's Issues

Add a linter to the repository

I would like to propose the addition of a linter to the repository.
Linters can greatly improve code quality and readability by catching common errors and enforcing coding standards.

Add pre-commit hooks to the repo.

Is your feature request related to a problem? Please describe.
Could we add pre-commit hooks to the repo to standardize code quality?

Describe the solution you'd like
Pre-commit hooks would boost the quality of code, and drive everyone willing to contribute to adhere to a specific standard.

PS: Great project idea! ๐Ÿ˜„

Describe alternatives you've considered

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.