Skip to content
forked from mgax/lfs

Git-LFS server written in Python

License

Notifications You must be signed in to change notification settings

SICSoftwareGmbH/lfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLFS

A minimal Python implementation of git-lfs. Currently speaks the v1 legacy api.

Build Status

Setup

Install pipenv

pipenv --three install

mkdir data
git init --bare data/repo.git

git clone https://github.com/mgax/lfs.git

cat > lfs/settings.py <<EOF
GIT_PROJECT_ROOT = '`pwd`/data'
SERVER_URL = 'http://localhost:5000'
EOF

cd lfs
pipenv run python lfs.py

Using as remote

git init repo
cd repo
git lfs track '*.jpg'
curl -O https://rawgit.com/mgax/lfs/master/testsuite/hardwrk.jpg
git add .
git commit -m 'test data'
git remote add origin http://foo:bar@localhost:5000/repo.git
git push --set-upstream origin master

About

Git-LFS server written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • Shell 1.9%