http://www.cnblogs.com/fnng/archive/2011/08/25/2153807.html

http://www.cnblogs.com/sunada2005/archive/2013/06/06/3121098.html

http://www.open-open.com/lib/view/open1328069988843.html  git服务器搭建

http://aoingl.iteye.com/blog/1365201  git服务器搭建

http://gitstack.com/pricing/

GitStack is a product developed by Smart Mobile Software.
Smart Mobile Software is a rapidly growing software vendor. Since 2011, we provide a cloud optical character recognition service, smartphone applications.
Our experience in software development makes us realize that there was
no way to easily set up a git server under Windows, so we decided to
create GitStack!

GitStack is a software that lets you setup your own private Git server for Windows. This means that you create a leading edge versioning system without any prior Git knowledge. GitStack also makes it super easy to secure and keep your server up to date. GitStack is built on the top of the genuine Git for Windows and is compatible with any other Git clients. GitStack is completely free for small teams.

[Tue Apr 14 09:39:09 1022 /dev/pts/0 192.168.2.250 ~/.ssh]#ssh-keygen -t rsa -C "createyuan1@163.com"

将此机器公钥复制到github的个人账户》ssh keys》add keys中
[Tue Apr 14 09:40:56 1024 /dev/pts/0 192.168.2.250 ~/.ssh]#cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp9Ksx8CoeMjf4bda4GN9GgsBlySAYgYlUJGKyviDbfVfOBeQSqyCNYD2n1KdcRzszBW6b55J7XBHhihwqYn0MVwRt1sN0allaqVg9O36qYXGgNwPlzmdGJCnVPQs2V7RJ14ypWTPUisAi/fbD41ZFctUZhNXZ/+Mr4f4/eHZvU/POar1Bkd5b60lod83/K2fnOwtrRm7z9MaIj4PiXcBypyqC1CHCxOyKdIkZDArWbdZGGh4QE2yzZL0P4rxboEpPwa2YVm+dPfUShrhtvqZ6FagW4fMxzPVzi53qyyXY/Np3MfmvzFZgMlKvKy6cAQybw2w0i2S+P3kz1ZMMf2ttQ== createyuan1@163.com

接着打开git ,测试连接是否成功
[Tue Apr 14 09:41:01 1025 /dev/pts/0 192.168.2.250 ~/.ssh]#ssh -T git@github.com
The authenticity of host 'github.com (192.30.252.130)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts.
Hi createyuan! You've successfully authenticated, but GitHub does not provide shell access.

linux下无法新建一个repo,只能对github中已有的repo进行修改。所以,当要新建一个repo时,必须在github.com上新建,再通过linux下的git向此repo中新添内容。
[Tue Apr 14 09:49:45 1031 /dev/pts/0 192.168.2.250 ~]#mkdir lctt
[Tue Apr 14 09:50:02 1032 /dev/pts/0 192.168.2.250 ~]#git --version
git version 1.7.1
[Tue Apr 14 10:02:03 1036 /dev/pts/0 192.168.2.250 ~/lctt]#git clone https://github.com/createyuan/TranslateProject
Initialized empty Git repository in /root/lctt/TranslateProject/.git/
remote: Counting objects: 41040, done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 41040 (delta 45), reused 0 (delta 0), pack-reused 40948
Receiving objects: 100% (41040/41040), 15.23 MiB | 483 KiB/s, done.
Resolving deltas: 100% (24325/24325), done.

先fork,再clone到本地
open
closed
每一次pull request加1
翻译完成 #2723
createyuan wants to merge 3 commits into LCTT:master from createyuan:master
2710
2709

linux服务之git的更多相关文章

  1. Linux服务部署Yapi项目(安装Node Mongdb Git Nginx等)

    Linux服务部署Yapi 一,介绍与需求 1,我的安装环境:CentOS7+Node10.13.0+MongoDB4.0.10. 2,首先安装wget,用于下载node等其他工具 yum insta ...

  2. ***Linux下使用git命令及github项目

    在linux下搭建git环境1.创建Github账号,https://github.com2.Linux创建SSH密钥: ssh-keygen  ##一直默认就可以了 3.将公钥加入到Github账户 ...

  3. Linux Ubuntu搭建git服务器

    1. 安装 openssh-server ,用于创建SSH服务. sudo apt-get install openssl-server 使用命令ps -e|grep ssh,查看ssh服务是否启动. ...

  4. 在LINUX上创建GIT服务器【转】

    转自:http://blog.csdn.net/xiongmc/article/details/9176785 如果使用git的人数较少,可以使用下面的步骤快速部署一个git服务器环境. 1. Cli ...

  5. 环境部署(七):linux下Jenkins+Git+JDK持续集成

    前面几篇博客介绍了linux下安装Jenkins.Git.JDK以及Git基础教程和Git关联github等内容,这篇博客,介绍下如何在linux服务器中利用它们构建持续集成环境... 一.准备工作 ...

  6. Linux下Jenkins+git+gradle持续集成环境搭建

    Linux下Jenkins+git+gradle持续集成环境搭建 来源:IT165收集  发布日期:2014-08-22 21:45:50 我来说两句(0)收藏本文   一.项目介绍 和 linux ...

  7. 【转】在Linux下搭建Git服务器

    在 Linux 下搭建 Git 服务器 环境: 服务器 CentOS6.6 + git(version 1.7.1)客户端 Windows10 + git(version 2.8.4.windows. ...

  8. Linux下搭建Git服务器

    1.安装Git 见 Jenkins持续集成环境部署 第四节 2.创建Git用户和用户组 groupadd git useradd git -g git 3.创建证书切换到git用户创建证书 su gi ...

  9. 第11章 Linux服务管理

    1. 服务分类 (1)Linux的服务 ①Linux中绝大多数的服务都是独立的,直接运行于内存中.当用户访问时,该服务直接响应用户,其好处是服务访问响应速度快.但不利之处是系统中服务越多,消耗的资源越 ...

随机推荐

  1. linux基础命令学习(六)DHCP服务器配置

    工作原理:        1.客户机寻找服务器:广播发送discover包,寻找dhcp服务器        2.服务器响应请求:单播发送offer包,对客户机做出响应.提供客户端网络相关的租约以供选 ...

  2. linux 下安装rsync

    一.服务器端配置: 1.安装xinetd,并修改rsync相关配置 # yum -y install xinetd # vi /etc/xinetd.d/rsync 如下代码: service rsy ...

  3. Python - 学习经验分享

    执行方式: 直接输入python进入命令行,进行单行输入执行,退出后不保存. python filename.py或./filename.py 直接执行脚本文件 脚本格式: #!/usr/bin/py ...

  4. Get Many Persimmon Trees_枚举&&二维树状数组

    Description Seiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aiz ...

  5. 破解 crackme(“不可逆“函数)

    系统 : Windows xp 程序 : crackme 程序下载地址 :http://pan.baidu.com/s/1i41oh9r 要求 : 注册机编写 使用工具 : IDA Pro & ...

  6. 第一次div1做出3道题

    第一次div1做出3道题! 再接再厉! 哈利路亚!

  7. [转Go-简洁的并发 ]

    http://www.yankay.com/go-clear-concurreny/ Posted on 2012-11-28by yankay 多核处理器越来越普及.有没有一种简单的办法,能够让我们 ...

  8. 我的第一个unity3d Shader, 很简单,基本就是拷贝

    Shader "Castle/ColorMix" { Properties { // 基本贴图 _MainTex ("Texture Image", 2D) = ...

  9. What Controls are new for windows phone 8.1

    http://www.jayway.com/2014/04/08/windows-phone-8-1-for-developerswhat-controls-are-new-2/ What contr ...

  10. WinEdt和TeXworks编辑LaTeX文件乱码问题

    WinEdt默认使用的是系统编码,windows下可以认为是 GBK编码,而TeXworks默认使用的是UTF8编码,所以要统一这两个编码,才能保证两个文件互相打开不会乱码. 具体方法如下: 一,可以 ...