Git Product home page Git Product logo

go-git's Introduction

go-git

本库尝试使用 go 语言实现一个简易 git 工具,供自学使用。 内容参考了 Thibault Polge 的教程 https://wyag.thb.lt/ 其中的实现为 python 版本。

项目结构

cmd 中为 cobra 实现的命令行操作 common 中为主要的运行的方法

内容介绍

go-git 复刻了 git 的版本控制原理,实现上更为简单,是一个玩具级别的版本控制工具。 目前支持 init、hash-object、cat-file、log、ls-tree、tag、show-ref、ls-file、checkout、add、rm、commit 等命令的基本功能。 仅就已支持的功能而言 go-git 可以与 git 无缝衔接使用,因此不做过多陈述。若想自己实现建议参考上面的链接。

go-git's People

Contributors

reditiny avatar

Watchers

 avatar

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.