⑨ lab ≡ ByteLabs

Plan9/Git9

Git9 has been added to 9front (thanks Ori). If you are not running the latest version of 9front, you can get a bootstrap copy of git9:

 % cd /tmp
 % hget https://orib.dev/git/git9/HEAD/snap.tar.gz | tar xvz
 % cd git9
 % mk all
 % mk install

Then get an updatable version from git9:

 % mkdir -p $home/src
 % cd $home/src
 % git/clone gits://orib.dev/git9
 % cd git9
 % mk all
 % mk install

Configure your user name and email:

 % mkdir -p $home/lib/git
 % echo '
 [user]
  name=Peter J. Weinberger
  email=pjw@plan9.org
 ' > $home/lib/git/config

Now you can git/clone projects from shithub.us, github.com, etc. like this:

 % cd $home/src
 % git/clone https://github.com/1g0rb0hm/9lab

#Plan9 #9front