Tortoise git的简单使用

来源:互联网 发布:人工智能少年普及知识 编辑:程序博客网 时间:2024/06/07 00:17

本文介绍在tortoise下GIT的简单使用。

首先下载Git的客户端,32/64通用。http://rj.baidu.com/soft/detail/30195.html?ald安装好,都是默认即可。

再下载tortoise的64位版本。http://www.xiazaiba.com/html/25982.html#j_down_list也都是默认。

在一个文件夹底下,右键->tortoisegit->setting  在git里设置好名字和email。

右键->git create repository here,一路默认即可。

右键->tortoisegit->pull,刚开始没设置自己的github地址。点击manage remote,然后在URL中输入自己的github的链接。然后add一下就可以了。

如果是push就在选项里选择Push,不过一般都是先commit提交到本地,再push一下。

注意:刚开始啥都没有想要提交,或者需要先PULL一下把GITHUB上的read.me pull下来,再push,我遇到过这个问题。



0 0