A local version control system written in Go. I built this as a way to introduce myself to Golang. (v2.1)
git clone https://github.com/mehtaarn000/SuperSourceControl
cd SuperSourceControl
go build ssc.go
Then, move the ssc executable file (generated by the Go compiler) to somewhere in your $PATH.
To start a project:
mkdir testdir
cd testdir
ssc initThen, create a file and commit:
touch "hello world" > helloworld.txt
ssc commit -m "Initial commit"Log all commits:
ssc log -mSimpily run ssc --help to see usage.
On Unix-like systems, two dependencies are required. jq and curl. You can use your operating systems package manager to install these.
When you are ready to update, run either of the following commands:
ssc update
or if you are using an older version of SuperSourceControl:
curl https://raw.githubusercontent.com/mehtaarn000/SuperSourceControl/master/update.sh | sh