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

转载于:https://www.cnblogs.com/createyuan/p/4424281.html

linux服务之git相关推荐

  1. 在linux下搭建git环境,在linux下搭建git github开发环境

    在linux下搭建git github开发环境 github git linux 1.安装git sudo apt-getinstall git 2.Generating SSH keys 2.1.g ...

  2. Linux Ubuntu搭建git服务器

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

  3. kali系统搭建本地服务器,kali linux 下搭建git服务器

    参考:http://www.cnblogs.com/dee0912/p/5815267.html https://www.liaoxuefeng.com/wiki/001373951630592960 ...

  4. 外网ssh远程连接linux服务【内网穿透】

    在没有公网IP的情况下,要实现外网ssh远程linux服务,普遍是做内网穿透,在本地安装个客户端就可以. 现在市面上内网穿透软件很多,不乏好坏.这里推荐一款挺好用的内网穿透软件--cpolar,不限制 ...

  5. linux git服务器搭建端口号是多少,Linux 环境 搭建Git 服务器,并且修改SSH端口使用...

    1.环境配置说明 服务器 CentOS 7 + git(git version 1.8.3.1) 客户端 Windows10 + SourceTree 2.安装 Git 服务器端安装: sudo yu ...

  6. windows 下frp服务启动_内网穿透frp linux服务端搭建和windows客户端使用

    一.Linux 服务端搭建 1.下载安装 wget --no-check-certificate https://raw.githubusercontent.com/clangcn/onekey-in ...

  7. 使用putty远程linux服务

    由于之前已经安装了Centos系统,可以进行操作或配置服务器了,但是有时候由于服务器在机房或者其他地方,我们需要通过远程的方式连接过去操作,接下来我们用putty来连接linux服务,并做一些简单的设 ...

  8. Linux服务配置:Vsftp的基本配置[转]

    Linux服务配置:Vsftp的基本配置 2009-05-12 15:16:10 标签:服务 Vsftp Linux 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明 ...

  9. Linux服务笔记之二:SSH远程登录

    上次,写了用传统的telnet方法来远程管理服务器.今天,写下如何用SSH(Secure SHELL)协议来远程管理服务器.优点:因为SSH基于成熟的公钥加密体系,所以传输的数据会进行加密,保证数据在 ...

最新文章

  1. Acey.ExcelX组件如何保证稳定性?
  2. Windows 技巧篇-通过“控制面板-程序和附件“查看程序安装位置实例演示
  3. 关于java几种输出的区别
  4. mysql数据库优化清理_mysql 数据库优化整理
  5. [新手及懒人适用]轻松恢复误Ghost的硬盘
  6. Mendix:低代码平台四大常见用例开发
  7. 蚂蚁集团CEO胡晓明宣布辞任
  8. 什么是通讯作者?和第一作者的区别有哪些?
  9. 相同源代码的html文件在本地和服务器端被浏览器请求时,显示的效果不一样!!!...
  10. Java中创建线程池的正确方法
  11. 内部人示范(野生项目笔记02)
  12. id和instancetype
  13. HCNA-IP地址规划练习
  14. 计算机如何安装cpu风扇,从零开始学装机 教你如何安装CPU风扇
  15. 【巷子】---webpack配置非CMD规范的模块
  16. Bootstrap学习笔记——缩略图、警示框、进度条、媒体对象、列表组、画板
  17. PHP发送邮件---phpmailer
  18. Google Chrome 75.0.3770.100 插件丰富且自带翻译的浏览器
  19. 百度依存句法分析标识说明
  20. 什么是代理服务,如何选择最佳IP代理?

热门文章

  1. VS2017学习OpenGL时遇到的一些小问题和解决方法
  2. Eclipse中使用git前账号密码等的配置问题
  3. springboot源码分析 - AbstractRoutingDataSource多数据源方案的分析
  4. 几个基于jvm 的微服务框架
  5. Lua table笔记
  6. 石墨烯可提高热成像质量 提高安检准确性
  7. 7.Redis常用命令:ZSet
  8. 为什么你喜欢的女生不喜欢你
  9. H5进阶篇--实现微信摇一摇功能
  10. CentOs 6.3_64静默安装oracle11g_r2