GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rgl/UseLibgit2sharp: example application uses the libgit2sharp library to create a local git repository, a commit, and a push to a remote repository

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.gitea
Dockerfile.gitea
 
 
Program.cs
Program.cs
 
 
README.md
README.md
 
 
UseLibgit2sharp.csproj
UseLibgit2sharp.csproj
 
 
docker-compose.yml
docker-compose.yml
 
 
gitea-init.ash
gitea-init.ash
 
 

Repository files navigation

About

Build

This example application uses the libgit2sharp library to create a local git repository, a commit, and a push to a remote repository.

Usage (Ubuntu 22.04)

Install docker and docker compose.

Build and start the local gitea git server:

docker compose down --remove-orphans --volumes
docker compose up --build

In another shell, build and execute the example application:

dotnet run # or: docker compose run --build test

List the local repository log:

git --git-dir tmp/test/.git log --oneline

Observe the remote repository:

http://localhost:3000/jane.doe/test

Destroy everything:

docker compose down --remove-orphans --volumes

Reference

  • LibGit2Sharp Hitchhiker's Guide to Git

About

example application uses the libgit2sharp library to create a local git repository, a commit, and a push to a remote repository

Topics

csharpexamplegitlibgit2libgit2sharp

Resources

Readme
Activity

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.