xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 3dfed205de47850d459106b2479484d83fdcbca8

Prefer https over ssh
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-09-28 02:23
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-09-28 02:23
Parent(s): fc13b029f14be5989df314e4adec67c78cc06b6d
Signing key:
Tree: 7c2755289860c254b849c5cbfad1763606dcd17a
File Lines added Lines deleted
root/themes/default/hints/repo/clone_owner.html 6 0
File root/themes/default/hints/repo/clone_owner.html changed (mode: 100644) (index 9f13299..3ca16a6)
... ... If you have the project locally, but not versioned with Git:<br />
3 3 <div class="xcode"> <div class="xcode">
4 4 cd local_project_dir<br /> cd local_project_dir<br />
5 5 git init<br /> git init<br />
6 git remote add origin @@ri::clone_url_http@@<br />
7 # or<br />
6 8 git remote add origin @@ri::clone_url_ssh@@<br /> git remote add origin @@ri::clone_url_ssh@@<br />
7 9 # commit something<br /> # commit something<br />
8 10 git push origin --all<br /> git push origin --all<br />
 
... ... git push origin --tags<br />
13 15 If you are switching from another Git hosting provider:<br /> If you are switching from another Git hosting provider:<br />
14 16 <div class="xcode"> <div class="xcode">
15 17 cd local_project_dir<br /> cd local_project_dir<br />
18 git remote set-url origin @@ri::clone_url_http@@<br />
19 # or<br />
16 20 git remote set-url origin @@ri::clone_url_ssh@@<br /> git remote set-url origin @@ri::clone_url_ssh@@<br />
17 21 git push origin --all<br /> git push origin --all<br />
18 22 git push origin --tags<br /> git push origin --tags<br />
 
... ... git push origin --tags<br />
21 25
22 26 If you do not have the project locally, and want to clone it:<br /> If you do not have the project locally, and want to clone it:<br />
23 27 <div class="xcode"> <div class="xcode">
28 git clone @@ri::clone_url_http@@ local_project_dir<br />
29 or<br />
24 30 git clone @@ri::clone_url_ssh@@ local_project_dir<br /> git clone @@ri::clone_url_ssh@@ local_project_dir<br />
25 31 cd local_project_dir cd local_project_dir
26 32 </div> </div>
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master