1,配置你的信息:git config --global 你的名字git config --global 你的邮箱--global 表示所有git仓库都会使用这个配置2,创建SSH Key ssh-keygen -t rsa -C "youeamil@explode.com"git s...
分类:
其他好文 时间:
2015-04-26 01:16:15
阅读次数:
265
github使用教程: 1. 在系统天堂下载Github for Windows,然后安装就不说了 2. 登陆,安装好后打开GitHub,用你的GitHub账号登陆。需要注意的事,Github for Windows会帮你创建SSH Key,你打开邮件应该会收到邮件帮你创建SSH Key的信息,.....
分类:
其他好文 时间:
2015-04-25 22:37:58
阅读次数:
147
Git & GitLab 使用及规范Git安装配置及基本使用
从官网下载安装包,手动完成安装。
打开Git Bash命令行工具,执行命令ssh-keygen -t rsa -C Email-Addresss生成一个密钥对。
登录到GitLab,点击右上角你的用户头像,点击Edit Profile settings,点击SSH Keys,点击Add SSH Key,填写Title栏,复制用户目录下.s...
分类:
其他好文 时间:
2015-04-17 14:02:51
阅读次数:
286
以前从来没有用过git管理代码,公司其他人用git,没办法,只能使用git了。以下是我个人对git使用的心得吧,有什么不对的地方,还请大家多多提出。
在Mac OS X 下是默认支持git的, 我们所需要做的很简单,就是生成ssh密钥,链接远程仓库。
一.简单配置git
设置SSH
github使用SSH链接,需要设置SSH
1.检查SSH key
...
分类:
系统相关 时间:
2015-04-17 11:31:48
阅读次数:
354
An SSH key allows you to establish a secure connection between your computer and GitLab.Before generating an SSH key, check if your system already has...
分类:
其他好文 时间:
2015-04-13 22:46:44
阅读次数:
251
之前介绍的连接git服务器的方法(链接),存在一个不是很方便的问题,即每次上传等操作时都需要用户名和密码。
git服务器还支持通过SSH加密的传输,通过这种方法,可以省去每次都输入密码的麻烦。不过在此之前需要先做一下设置。
1.生成SSH Key
ssh-keygen -t rsa -C "xxxx@qq.com"
可以选择保存位置和是否加密,一般不用更改,直接一路回车即可,也不用...
分类:
其他好文 时间:
2015-04-13 16:41:18
阅读次数:
161
机器A:macBook笔记本
机器B:linux台式机
需求:要在mac本上scp项目jar包到linux台式机上,但是每次都需要输入台式机的用户密码,如何不用输入密码?
网管意见:生成ssh key
步骤:
首先在台式机上执行命令:
which ssh-copy-id
/usr/bin/ssh-copy-id
vim /usr/bin/ssh-copy-id查看s...
分类:
其他好文 时间:
2015-04-13 10:55:09
阅读次数:
128
3生成SSH公钥$ ssh-keygen -t rsa -C "your_email@youremail.com"#ssh-keygen -t dsa -C "your_email@youremail.com" # Creates a new ssh key using the provided e...
分类:
其他好文 时间:
2015-04-10 17:17:56
阅读次数:
154
1:修改已经提交N次代码的user.name和user.email解决我在多电脑间,使用不同账户,git config 的global,system,local配置忽略改动,而添加了多台电脑ssh key的默认提交问题。#分两次复制执行以下两行git filter-branch -f --env-f...
分类:
其他好文 时间:
2015-04-10 10:51:08
阅读次数:
113
Download Git for windowsOpen Git BashType in "ssh-keygen -t rsa", and then press Enter button three timesYou can find the public key in the "file id_r...