3月 092013
 

Your ads will be inserted here by

Easy AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

1、github上删除自己项目里面不需要的文件

首先进入master文件夹下;
然后将git pull origin master将网上的复制到本地
再git rm 文件。
再git push origin master同步到网络。

2、github在建立好工程后,上传文件

git add 待上传文件
git commit -m 'first_commit'
git remote add origin https://github.com/**************.git
git push origin master

会碰到错误fatal: remote origin already exists

git remote rm origin
git remote add origin https://github.com/**************.git
git push origin master
---------------------------2013.03.09-----------------------------

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)