Skip to content

ruxtain/gittie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gittie

server

receive files uploaded by the client

client

scan changed files and upload them to the server

how to use?

  1. write your host, port, and url path in config.json:
{
	"url": "http://127.0.0.1:6061",
	"path": "/push"
}
  1. put the code on your server and your local machine.

  2. run client:

# run status to check what have changed
python client.py ./test /tmp/remote status

# run push to push your code to the server 
python client.py ./test /tmp/remote push

# if something goes wrong, you can do a full overwrite
python client.py ./test /tmp/remote reset
python client.py ./test /tmp/remote push

About

a tiny copycat of git.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages