Skip to content

YaswanthDasamandam/Git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This is a simple implementation of Git

Future Scope :

  1. Adding makefile
  2. Rewrite of checkout

To run please compile to object file :

gcc -o git.o vcs.c

It will generate a git.o object file create a alias so you dont need to run everytime

Now to use it

  1. Initilize a repository using git init
  2. add any files to staging area using git add <file1name> <file2name> ...
  3. To check what are being tracked git status
  4. commit any changes using git commit -m "commit message"
  5. To see all commits git log
  6. To revert back changes (needs improvement) currently it is only reverting changes only to that commit git checkout commithash

About

Simple implementation of Git in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages