Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A simple library for programmatically pushing files to github

Resources

License

Packages

No packages published