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> |