Implementation of a dummy git with server/cloud storage
- Run
server.c
with./server.c
(you can minimize this window) - Run
miniGit.c
with./miniGit.c
(this can be done as many times as the number of clients connected in simultaneous would like to have)
First time
- Run ./server and ./miniGit
help
- Try to
init
signup
signin
orlogin
- Try to
add
init
add
- Try to
commit MSG
- Add some files
ls
commit
without things on stage areaadd
andcommit MSG
- Add more files
add
andcommit
log
to see the previous commitscheckout HASH
to see the changes in filescheckout master
ls
push
logout
Second time
- delete folder simulating logging in from another pc
login
ls
pull
ls
checkout HASH
ls
checkout master
clone USERNAME
ls
to check that working directory doesnt change with aclone USERNAME
- exit