Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

rameshvarun/got

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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