Coder Social home page Coder Social logo

git-got's Introduction

Git-Got

Git-Got is a set of powershell cmdlets and functions that expose functionality from libgit2sharp. Ideally, you load this module into your powershell session and git is in memory, which should make it run faster, which was always one of my chief gripes with git on windows.

Installation

You can use nuget to install Git-Got:

> nuget install Git-Got

Then all you need to do is load the module in your profile script:

> notepad $profile

add the line:

# note: no file extension at the end of the next line
Import-Module path/to/Git-Got

somewhere, save, start a new powershell session, and you're good to go.

Usage

Git-Got definds a bunch of functions to call into libgit2sharp.

> $repo = New-Repository path\to\my\project

# below is not implemented yet
> $repo.Branches | ForEach-Object { $_.Name }

To make it easier to work with on the command line, there are also a couple of higher level wrapper functions, so instead of:

> ....long ass invocation of extension methods in powershell...

you can say:

# below is not implemented yet
> Get-Commits $repo -StartAt sha

Status

This project is still under heavy development (read: just barely started.) If you find a loose floorboard let me know, but don't hurt yourself.

git-got's People

Contributors

cbilson avatar

Stargazers

 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.