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
?
轉載于:https://www.cnblogs.com/createyuan/p/4424281.html
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的linux服务之git的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: LINUX正则表达式-- grep
- 下一篇: RHEL/CentOS 下安装yum源地