Skip to content
/ yit Public

Yit is a lightweight, simplified clone of the popular version control system Git built in Golang.

License

Notifications You must be signed in to change notification settings

ya3rub/yit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Yit (Yet another git)

  "Yit" is a lightweight, simplified clone of the popular version control system Git, implemented in the Go programming language.

Features Implemented:

  • Commit
  • checkout
  • branch
  • init
  • log
  • tag
  • merge
  • push

Try it !

Init

  ./yit init

commit

  ./yit commit -m "[MESSAGE]"

log

  ./yit log

branch (adding branch)

if start commit not provided, it will look for HEAD

  ./yit commit -s "[START_COMMIT]" -n "{BRANCH_NAME}"

Checkout

if start commit not provided, it will look for HEAD

NOTE: dist dir is required for safety reasons..

  ./yit checkout -b "[BRANCH_NAME]" -n -d "[DIST_DIR]"

tag

if start commit not provided, it will look for HEAD

  ./yit checkout -c "[COMMIT]" -n -t "[TAG]"

Acknowledge

the kick-starter project was guided by bassim's videos, shoutout !, Understanding the git internals, a deep dive into the .git folder [Advanced]

Write yourself a Git! an intuitve an a comprehensive view.

Git Internals - Learn by Building Your Own Git the great step-by-step guide !

About

Yit is a lightweight, simplified clone of the popular version control system Git built in Golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published