A simple library for programmatically pushing files to github
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/xunit
src
.gitignore
.travis.yml
GitHubPushLib.nuspec
LICENSE
README.md
package.cmd

README.md

GitHub Push Lib

Build Status

A simple library to programmatically push files to GitHub. The idea is to specify a file (or embedded resource) and have that file pushed to a specific repo at a specified path.

Installation

The project is distributed as a NuGet Package...

Install-Package GitHubPushLib

Usage

var service = new ContentService(token);
var file = new DiskFile("Files/content_file.gif");
var target = new FileTarget(owner, repo, file.Name);

service.PushFile(file, target, "pushing file via GitHubPushLib");

For a working demo, check out the Sample App...