1、创建本地库mkdirdir_name#创建目录cddir_name#切换至目录gitinit#创建本地库2、生成ssh-keygen,并测试登陆gitssh-keygen-trsa-C“409782353@qq.com”#生成公钥ssh-Tgit@github.com#测试登陆3、Git基本操作(1)配置用户名和邮箱gitconfig--globaluser.name"username"#配置
分类:
其他好文 时间:
2018-01-27 15:30:33
阅读次数:
123
1. 当前虚拟站点根目录的 .git/ 权限 2. 当前项目裸仓库创建 hooks/post-receive 文件,并给予x 的权限 3. 复制如下内容 ******************* 可能有如下问题 su - gitssh-keygenssh-copy-id michael@docker. ...
分类:
其他好文 时间:
2017-02-12 22:23:50
阅读次数:
188
HTTP:https:https://git.coding.net/liqiao085/wf--week2.gitssh://git@git.coding.net:liqiao085/wf--week2.git 功能1: void f1()//完成自己输入文章统计功能 { int sum = 0; ...
分类:
其他好文 时间:
2016-09-29 01:22:53
阅读次数:
174
结对编程:李峤 杜月 HTTP:https://git.coding.net/liqiao085/sizeyunsuan.gitssh://git@git.coding.net:liqiao085/sizeyunsuan.git 功能2 : void gao(char str[]){int cnt ...
分类:
其他好文 时间:
2016-09-29 00:55:48
阅读次数:
160
https://git.coding.net/qianhuihui/second-week.gitssh://git@git.coding.net:qianhuihui/second-week.git 结对项目进一步更改如下: 运行结果: 结对编程感想: 结对编程进行过程中确实会遇到意见不统一的问题 ...
分类:
其他好文 时间:
2016-09-15 01:06:17
阅读次数:
238
Ubuntu下安装GitUbuntu12.04 LTS默认是已经安装Git的,可以使用 git --version 测试是否安装。如果没有安装,使用命令: sudo apt-get install git git-core 安装gitssh认证官网教程:https://help.github.com...
分类:
系统相关 时间:
2015-10-29 18:12:45
阅读次数:
270
**********1.在执行git push origin master指令时报如下错误:
iluckysi@ILUCKYSI-PC /d/ilucky/message/code (master)
$ git push origin master
Username for 'https://github.com': IluckySi
Password for 'https://Iluck...
分类:
其他好文 时间:
2015-06-09 11:59:29
阅读次数:
2079
仓库1. 克隆一个远程repository到本地HTTP的方式: git clone https://github.com/linus87/GitTest.gitSSH的方式:git clonegit@github.com:linus87/GitTest.gitGit Read-Only的方式: gitclone git://github.com/linus87/GitTest.git一...
分类:
其他好文 时间:
2015-05-08 11:03:06
阅读次数:
166