laoqi

 

2012年3月22日

git 工作流程

摘要: 1通过git st 查看已经修改的文件和没记录的文件。2.通过git add 将没记录的文件添加到git库中。比如新增了文件test.php,可以通过git add test.php将test.php加到库中,也可通过git add * 将所有新增文件添加到库中。3.通过git commit -a 将所有改动提交到库中。4.通过git pull 将远程库中的代码下到本地, 如果有冲突:则需要将冲突的代码进行处理完后重新调用 git commit -a.5.通过git push将代码上传到远程库。 阅读全文

posted @ 2012-03-22 21:22 laoqi 阅读(180) 评论(0) 推荐(0) 编辑

using UserDir to redirect to local web page

摘要: first add to new line in the /etc/apache2/httpd.conf:UserDir workspace/webPagethen if you type localhost/~liqi/test.html, this would display the web page in the /home/liqi/workspace/webPage/test.html.now add the UserDir module to apache2sudo a2enmod userdirthen restart apache2, it works! 阅读全文

posted @ 2012-03-22 19:47 laoqi 阅读(219) 评论(0) 推荐(0) 编辑

导航