1、下载千兆位windows
33558www.Sina.com/1)常用GitHub客户端msysgit,即git-for-windows。
)2)登录官网https://git-for-windows.github.io /,点击下载按钮下载,如下所示:
)3)我下载了最新版的64位Git-2.11.0-64-bit.exe )
2、安装千兆位windows
1)点击Next
2)选择安装目录
)3)如图所示,选中创建桌面快捷方式、Git Bash、Git GUi、目录与后缀的关联等。
)4)默认值可以,点击Next
)5)在” Adjusting your PATH environment “选项中,缺省选项为” usegitfromthewindowscommandprompt “,即使是在windows命令行cmd中也是如此
)6)配置行结束标志,保持默认的“Checkout Windows-style,commit Unix-style line endings”。
)7)在终端仿真器选择页面,可以是默认的,配置后Git Gash的终端很容易使用。 然后单击” Next “按钮
)8)最后配置Git并追加选择默认即可。
9)安装成功
) 10 ) Git安装完成后,会在桌面上创建Git Bash快捷方式,右键单击任意目录可显示Git Bash Here选项。
)1)在本地创建ssh密钥
sh-keygen-trsa-c ‘ your _ email @ your email.com ‘
回到车上,就不需要输入了。
)2)如果成功,在) /下生成. ssh文件夹,进入其中,复制id_rsa.pub文件的内容
)3)添加ssh密钥
单击“添加ssh密钥”
)3)为了验证是否成功,在git bash下输入:
$ ssh -T git@github.com
如果是第一次的话,会被询问是否是continue。 键入yes将显示you ‘ vesuccessfullyauthenticated,butgithubdoesnotprovideshellaccess。 这意味着成功连接了github。
3、git配置
管理员@ win7mingw 64/d/code
$ 4、git简单应用
Cloning into ‘jdbc ‘ .
远程:计数对象:5,done。
远程:合并对象:100 % 4/4)、done。
远程:总Delta0)、reused0delta0)、数据包0
UNpackingobjects3360100%5/5),done。
管理员@ win7mingw 64/d/code
$ cd jdbc
管理员@ win7mingw 64/d/code/JDBC 主控)
$ ls -a
.//. git//gitignorelicensereadme.MD
管理员@ win7mingw 64/d/code/JDBC 主控)
$ git clone https://github.com/ihadron/jdbc.git
add .
warning: LF will be replaced by CRLF in WebContent/index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/login.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/login.jsp.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/password.jsp.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/regist.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/regist.jsp.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/update.jsp.
The file will have its original line endings in your working directory.
Administrator@Win7 MINGW64 /d/code/jdbc master)
$ git commit -m “jdbc v1.0”
[master c509c83] jdbc v1.0
19 files changed, 417 insertions+)
create mode 100644 .classpath
create mode 100644 .project
create mode 100644 .settings/.jsdtscope
create mode 100644 .settings/org.eclipse.jdt.core.prefs
create mode 100644 .settings/org.eclipse.wst.common.component
create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml
create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container
create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name
create mode 100644 WebContent/META-INF/MANIFEST.MF
create mode 100644 WebContent/WEB-INF/web.xml
create mode 100644 WebContent/index.html
create mode 100644 WebContent/login.html
create mode 100644 WebContent/login.jsp
create mode 100644 WebContent/password.jsp
create mode 100644 WebContent/regist.html
create mode 100644 WebContent/regist.jsp
create mode 100644 WebCon快三单大小稳中方法ngs/org.eclipse.jdt.core.prefs
create mode 100644 .settings/org.eclipse.wst.common.component
create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml
create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container
create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name
create mode 100644 WebContent/META-INF/MANIFEST.MF
create mode 100644 WebContent/WEB-INF/web.xml
create mode 100644 WebContent/index.买大小单双技巧规律ntent/login.html
create mode 100644 WebContent/login.jsp
create mode 100644 WebContent/password.jsp
create mode 100644 WebContent/regist.html
create mode 100644 WebContent/regist.jsp
create mode 100644 WebCon快三单大小稳中方法ngs/org.eclipse.jdt.core.prefs
create mode 100644 .settings/org.eclipse.wst.common.component
create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml
create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container
create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name
create mode 100644 WebContent/META-INF/MANIFEST.MF
create mode 100644 WebContent/WEB-INF/web.xml
create mode 100644 WebContent/index.html
create mode 100644 WebContent/login.html
create mode 100644 WebContent/login.jsp
create mode 100644 WebContent/password.jsp
create mode 100644 WebContent/regist.html
create mode 100644 WebContent/regist.jsp
create mode 100644 WebContent/ulist.jsp
create mode 100644 WebContent/update.jsp
create mode 100644 mydb.sql
Administrator@Win7 MINGW64 /d/code/jdbc master)
$ git push -u origin master
Username for ‘https://github.com’: ihadron
Counting objects: 25, done.
Delta compression using up to 4 threads.
Compressing objects: 100% 20/20), done.
Writing objects: 100% 25/25), 6.33 KiB | 0 bytes/s, done.
Total 25 delta 5), reused 0 delta 0)
remote: Resolving deltas: 100% 5/5), done.
To https://github.com/ihadron/jdbc.git
7a049ec..c509c83 master -> master
Branch master set up to track remote branch master from origin.
Administrator@Win7 MINGW64 /d/code/jdbc master)
$