github怎样改动源代码并进行提交方法小结

/*********************************************************************
 * Author  : Samson
 * Date    : 04/26/2014
 * Test platform:
 *              3.11.0-12-generic #19-Ubuntu
 *              GNU bash, version 4.2.45
 * *******************************************************************/

下面是github怎样改动源代码并进行提交方法小结:

主要是针对从网上下载的代码进行了改动后,怎样提交改动后的代码到github服务器上的方法:

#Get you project from github:

v0id@eof ~/code $ git clone https://github.com/*******.git

v0id@eof ~/code $ git status




#modify file by your need, and update github source.

v0id@eof ~/code $ git add your_file_changed_version

#commit modify file or resource

v0id@eof ~/code $  git commit -a -m "update java  for delete"


#push commit to github server.

v0id@eof ~/code $  git push


#enter your github user name and pw.
【推广】 免费学中医,健康全家人
原文地址:https://www.cnblogs.com/ldxsuanfa/p/10536550.html