Skip to content
/ giraffe Public

Implementation-agnostic git server in Rust.

Notifications You must be signed in to change notification settings

glacyr/giraffe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giraffe

An implementation-agnostic git server.

Example

  1. Run cargo run --example simple.
  2. Create a new git repository:
    mkdir example && \
        cd example && \
        git init .
  3. Create an empty file and commit it.
    touch README.md && \
        git add . && \
        git commit -m "Initial commit."
  4. Add the simple's git receiver as a remote:
    git remote add origin http://localhost:3030/
  5. Push!
    git push -u origin main

Expected output:

  Enumerating objects: 3, done.
  Counting objects: 100% (3/3), done.
  Writing objects: 100% (3/3), 860 bytes | 860.00 KiB/s, done.
  Total 3 (delta 0), reused 0 (delta 0)
+ remote: This is an example message!
  To http://localhost:3030/
   * [new branch]      main -> main
  Branch 'main' set up to track remote branch 'main' from 'origin'.

(Note that you can send custom progress messages, like Github does for PRs.)

About

Implementation-agnostic git server in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages