Skip to content

Simil git implementation with server/cloud storage - C

Notifications You must be signed in to change notification settings

DLooppz/miniGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniGit

Implementation of a dummy git with server/cloud storage

How to run it

  1. Run server.c with ./server.c (you can minimize this window)
  2. 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)

Ideas for live demo (in order)

First time

  1. Run ./server and ./miniGit
  2. help
  3. Try to init
  4. signup
  5. signin or login
  6. Try to add
  7. init
  8. add
  9. Try to commit MSG
  10. Add some files
  11. ls
  12. commitwithout things on stage area
  13. add and commit MSG
  14. Add more files
  15. add and commit
  16. log to see the previous commits
  17. checkout HASH to see the changes in files
  18. checkout master
  19. ls
  20. push
  21. logout

Second time

  1. delete folder simulating logging in from another pc
  2. login
  3. ls
  4. pull
  5. ls
  6. checkout HASH
  7. ls
  8. checkout master
  9. clone USERNAME
  10. ls to check that working directory doesnt change with a clone USERNAME
  11. exit

About

Simil git implementation with server/cloud storage - C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages