Downloading Codes
If you want to get and download the codes on the CSGHub, we currently support downloading codes via Git or web interface.
Downloading Codes Using Git
- Downloading code repositories using HTTP:
git lfs install
git clone http://101.200.14.180/codes/opencsg/code123.git
- Downloading code repositories using SSH:
git lfs install
git clone ssh://git@localhost:2222/codes/opencsg/code123.git
Note: You need to add your SSH public key to your user settings in order to push changes or access private repositories. Click on "Account Settings" in the top right corner and go to "SSH Keys" to add your public key.
Downloading Files Using Web Interface
Click the download button under the Files tab to download the file directly.
Starring Codes
You can star codes by clicking the Likes
icon, and then view all your favorited codes by navigating to "My Favorite" in the top right corner.