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. 【模块应用】MFRC522开发笔记

    一.了解基本概念 ①ISO-14443A协议:( 国际标准化组织:International Organization for Standardization)RFID协议的一种;   PICC:临近 ...

  2. ubuntu下的wps不能使用中文.

    首先如果wps不能用中文的话应该是 excell ppt word 都不能用 . 我的办法需要改三个文件 . 先后打开这三个文件 . xpower@xpower-CW65S:~$ sudo vim / ...

  3. 文本编辑器vim

    Vim是一个功能强大的全屏幕文本编辑器,是Linux/UNIX上最大的文本编辑器,它的作用是建立.编辑.显示文本文件. Vim没有菜单,只有命令.

  4. IO复用(Reactor模式和Preactor模式)——用epoll来提高服务器并发能力

    上篇线程/进程并发服务器中提到,提高服务器性能在IO层需要关注两个地方,一个是文件描述符处理,一个是线程调度. IO复用是什么?IO即Input/Output,在网络编程中,文件描述符就是一种IO操作 ...

  5. Android布局居中的几种做法

    Android的布局文件中,如果想让一个组件(布局或View)居中显示在另一个布局(组件)中,可以由这么几种做法: android:layout_gravity android:gravity and ...

  6. VS2010命令行编译C#和VC项目

    VS2010命令行编译C#和VC项目 VS2010命令行编译C#和VC项目 根据需要动态创建数据库字段后,需要动态创建或者调整页面,那就需要编译这些页面和后台文件.因此使用命令行编译将会非常方便,对于 ...

  7. 2016年11月3日JS脚本简介数据类型: 1.整型:int 2.小数类型: float(单精度) double(双精度) decimal () 3.字符类型: chr 4.字符串类型:sting 5.日期时间:datetime 6.布尔型数据:bool 7.对象类型:object 8.二进制:binary 语言类型: 1.强类型语言:c++ c c# java 2.弱类型语

    数据类型: 1.整型:int 2.小数类型: float(单精度) double(双精度) decimal () 3.字符类型: chr 4.字符串类型:sting 5.日期时间:datetime 6 ...

  8. Smart210学习记录-------linux驱动中断

    Linux中断 Linux 的中断处理分为两个半部,顶半部处理紧急的硬件操作,底半部处理不紧急的耗时操作.tasklet 和工作队列都是调度中断底半部的良好机制,tasklet 基于软中断实现.内核定 ...

  9. beta 阶段的 postmortem 报告

    part一: 用户数:目前约30人 总结:与当初的预算差不多,首先1.第一次开发软件,经验效率不足,那是很正常的事情.2.用户数量少,因为宣传力度还是比较的少.应该加强软件的推广才行. part二: ...

  10. How to use HaploView

    HaploView is a program that is used to visualize the LD blocks of  SNPs. What I need to do is the fo ...