Categorygithub.com/rameshvarun/got
modulepackage
0.0.0-20230421164631-af6ef3e6c8db
Repository: https://github.com/rameshvarun/got.git
Documentation: pkg.go.dev

# README

Got

Go

A VCS written in Go, made for practice.

Example Usage

got init # In an empty folder

# Create an initial commit
echo "Test File" > test.txt
got commit -m "Initial commit." -a "Nobody"

# Modify the file
echo "Test File Modified" > test.txt
got commit -m "Second commit." -a "Nobody"

# See repository history
got log

Concepts

HEADS - A list of all heads in the repository

CURRENT - The current revision

Commands

got init

got log

Shows the commit history of the current repository, sorted by time. This command works by starting at the heads, then progressively traversing parent pointers.

got commit -m "message" -a "author"

got status

got merge

# Packages

No description provided by the author
No description provided by the author
No description provided by the author