赞
踩
Github代码提交(使用Git和TortoiseGit)
预先安装Git和TortoiseGit两个软件,用于图形化提交(先装Git再装TortoiseGit)。
在Github中找到仓库位置。
记下HTPPS。
在本地创建一个文件夹,用于维护代码,在文件夹中克隆项目。
输入刚刚得到的HTTPS。
点击OK:
在这里可以写上代码的提示信息。
上传成功后close:
在文件夹里创建**.gitignore**(文件名必须一样),add时就会自动筛选**.gitignore**里的内容,文件内容如下:
# Build and Release Folders bin-debug/ bin-release/ [Oo]bj/ [Bb]in/ # Other files and folders .settings/ # Executables *.swf *.air *.ipa *.apk #过滤掉不想要文件和文件夹 *.exe *.sln *.vcxproj *.filters *.user *.suo *.db *.ipch Debug/ .vs Release/ # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` # should NOT be excluded as they contain compiler settings and other important # information for Eclipse / Flash Builder.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。