linux服务之git
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的更多相关文章
- Linux服务部署Yapi项目(安装Node Mongdb Git Nginx等)
Linux服务部署Yapi 一,介绍与需求 1,我的安装环境:CentOS7+Node10.13.0+MongoDB4.0.10. 2,首先安装wget,用于下载node等其他工具 yum insta ...
- ***Linux下使用git命令及github项目
在linux下搭建git环境1.创建Github账号,https://github.com2.Linux创建SSH密钥: ssh-keygen ##一直默认就可以了 3.将公钥加入到Github账户 ...
- Linux Ubuntu搭建git服务器
1. 安装 openssh-server ,用于创建SSH服务. sudo apt-get install openssl-server 使用命令ps -e|grep ssh,查看ssh服务是否启动. ...
- 在LINUX上创建GIT服务器【转】
转自:http://blog.csdn.net/xiongmc/article/details/9176785 如果使用git的人数较少,可以使用下面的步骤快速部署一个git服务器环境. 1. Cli ...
- 环境部署(七):linux下Jenkins+Git+JDK持续集成
前面几篇博客介绍了linux下安装Jenkins.Git.JDK以及Git基础教程和Git关联github等内容,这篇博客,介绍下如何在linux服务器中利用它们构建持续集成环境... 一.准备工作 ...
- Linux下Jenkins+git+gradle持续集成环境搭建
Linux下Jenkins+git+gradle持续集成环境搭建 来源:IT165收集 发布日期:2014-08-22 21:45:50 我来说两句(0)收藏本文 一.项目介绍 和 linux ...
- 【转】在Linux下搭建Git服务器
在 Linux 下搭建 Git 服务器 环境: 服务器 CentOS6.6 + git(version 1.7.1)客户端 Windows10 + git(version 2.8.4.windows. ...
- Linux下搭建Git服务器
1.安装Git 见 Jenkins持续集成环境部署 第四节 2.创建Git用户和用户组 groupadd git useradd git -g git 3.创建证书切换到git用户创建证书 su gi ...
- 第11章 Linux服务管理
1. 服务分类 (1)Linux的服务 ①Linux中绝大多数的服务都是独立的,直接运行于内存中.当用户访问时,该服务直接响应用户,其好处是服务访问响应速度快.但不利之处是系统中服务越多,消耗的资源越 ...
随机推荐
- 转载 javascript中的正则表达式总结 一
定义正则表达式的方法 定义正则表达式的方法有两种:构造函数定义和正则表达式直接量定义.例如: var reg1 = new RegExp('\d{5, 11}'); // 通过构造函数定义 var r ...
- 【LeetCode OJ】Reverse Words in a String
Problem link: http://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an input string, reve ...
- Objective-C determine data network type of the iOS device
Im on an application that receive data from server, the problem is when user connect to cellular dat ...
- Inno Setup 打包工具总结
Inno Setup 打包工具总结 分类: Install Setup 2013-02-02 15:44 2386人阅读 评论(0) 收藏 举报 最近打包用到了Inno setup,在这个过程中容易犯 ...
- NSIS
NSIS 是“Nullsoft 脚本安装系统”(Nullsoft Scriptable Installation System) 的缩写,它是一个免费的 Win32 安装.卸载系统,采用了简洁高效的脚 ...
- Ubuntu 修改IP地址网关
一.使用命令设置Ubuntu IP地址 1.修改配置文件blacklist.conf禁用IPV6 sudo vi /etc/modprobe.d/blacklist.conf 表示用vi编辑器(也可以 ...
- iOS中动画的简单使用
iOS中的动画右两大类1.UIView的视图动画2.Layer的动画 UIView的动画也是基于Layer的动画动画的代码格式都很固定 1.UIView动画 一般方式[UIView beginAnim ...
- Tomcat发布网站知识集锦
修改端口.修改默认发布目录.多域名绑定 一.修改发布端口号为80(Tomcat默认为8080) 打开配置文件(我的如下:E:\J2EEServer\Tomcat 6.0\conf\server.xml ...
- Sprint第二个冲刺(第七天)
一.Sprint 计划会议: 现在简单的说下今天的会议情况:组员们除了完善之前做的功能,还打算实现把轮播图迁移到一个fragment中,方便管理.现在也准备着手实现商家上传商品的图片这个功能,虽说现在 ...
- Color Map的生成方法
/* Return a RGB colour value given a scalar v in the range [vmin,vmax] In this case each colour comp ...