diff --git a/app/views/git_usage/ch_usage.html.erb b/app/views/git_usage/ch_usage.html.erb index 9ca7de9ec..f2937be17 100644 --- a/app/views/git_usage/ch_usage.html.erb +++ b/app/views/git_usage/ch_usage.html.erb @@ -56,6 +56,15 @@ body table tr td span5 { body table tr td span5 { font-weight: bold; } +body table tr td p span6 { + color: #33F; + font-weight: bold; +} +body table tr td span6 { + color: #33F; + font-weight: bold; + font-size: 24px; +} @@ -73,7 +82,8 @@ body table tr td span5 {
+ | + |
如果你用的是Linux,你可以用你的本地包管理系统(native package management system)来安装。 | +
$ yum install git-core +在redhat等系统下用yum +$apt-get install git-core +在debian,ubuntu等系统下用apt-get |
+
+ |
$git config --global user.name “your_name” +$git config --global user.email “your_email” +Name和Email是用来设置自己的用户名和联系方式的(user.name和user.email必须填写,这些将在版本库提交时用到,
+ |
+
+
cd file1 +$ git add file1 +$ git init +$ git commit -a +$ git remote add [name] [版本库里给的URL(去掉http)] +$ git push [name] master +输入password后即可上传。 |
+
——Trustie团队 | diff --git a/app/views/git_usage/en_usage.html.erb b/app/views/git_usage/en_usage.html.erb index e7ea39e53..ce202c792 100644 --- a/app/views/git_usage/en_usage.html.erb +++ b/app/views/git_usage/en_usage.html.erb @@ -30,10 +30,10 @@ body p { body table tr td p { color: #333; font-family: "Comic Sans MS", cursive; + font-weight: normal; } body table tr td table tr td span1 { color: #09c; - font-weight: bold; } body table tr td span1 { color: #09c; @@ -51,6 +51,16 @@ body table tr td p span5 { body table tr td p span5 { font-weight: bold; } +body table tr td table tr td span6 { + color: #33F; + font-weight: bold; + font-size: 24px; +} +body table tr td span6 { + color: #33F; + font-weight: bold; + font-size: 24px; +} @@ -73,6 +83,11 @@ body table tr td p span5 {
If you are useing Linux, you can install git through native package management system. +$ yum install git-core +if you are using redhat, you should type "yum". +$apt-get install git-core +if you are using debian or ubuntu, you should type "apt-get". |
+
$git config --global user.name “your_name”M +$git config --global user.email “your_email” +User name and email are used to set your own user name and contact information( user.name and user.email must be completed because these will be used when submitting the repository,
+ |
+
+ |
cd file1 +$ git add file1 +$ git init +$ git commit -a +$ git remote add [name] [The URL which we give you in our website(with out http)] +$ git push [name] master +The last step is enter your password. |
+
—— By Trustie Team |