Code Monkey home page Code Monkey logo

cake_git's Introduction

Cake Git

NuGet

Cake AddIn that extends Cake with Git features using LibGit2 and LibGit2Sharp.

Build server Platform Status
AppVeyor Windows Build status
Travis Linux / OS X Build Status

Documentation

Documentation is available at cakebuild.net/dsl/git.

Example usage

#addin nuget:?package=Cake.Git

var lastCommit = GitLogTip("PATH TO REPOSITORY");

Information(@"Last commit {0}
    Short message: {1}
    Author:        {2}
    Authored:      {3:yyyy-MM-dd HH:mm:ss}
    Committer:     {4}
    Committed:     {5:yyyy-MM-dd HH:mm:ss}",
    lastCommit.Sha,
    lastCommit.MessageShort,
    lastCommit.Author.Name,
    lastCommit.Author.When,
    lastCommit.Committer.Name,
    lastCommit.Committer.When
    );

Example output

Last commit fb5b9805e543d8d1715886f78c273dc45b51a928
    Short message: Added Travis test folding
    Author:        Mattias Karlsson
    Authored:      2016-08-16 085836
    Committer:     Mattias Karlsson
    Committed:     2016-08-16 085836

Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Join in the discussion on the Cake repository

cake_git's People

Contributors

alea81 avatar arledesma avatar augustoproiete avatar bounz avatar daghb avatar dantttt avatar devlead avatar gep13 avatar gitfool avatar halex2005 avatar hanaure avatar ianmercer avatar jokay avatar katostoelen avatar kcamp avatar markobee avatar nikhilagrawaldotnet avatar nils-a avatar pascalberger avatar patriksvensson avatar philippbeckmann avatar phillipsj avatar roadrunner67 avatar sgaulding avatar skovsende avatar soroshsabz avatar waynehearn avatar

Watchers

 avatar  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.