Skip to content

umar1207/git-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-lite

under development

usage

git clone https://github.com/umar1207/git-lite.git

add this to your bashrc or zshrc

alias mygit = /this/repo/path/main.sh

Commands

mygit init
mygit add . # to stage all files
mygit add <filename> # to stage a specific file
# run cat .git/index to view the staging area after add command
mygit cat-file <hash> # to view the contents of a blob)
mygit commit <commit message> # run cat .git/logs/HEAD to view the commit history

Todo

logs

.gitignore functionality

status

push to remote repository

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published