zoukankan      html  css  js  c++  java
  • git 合包

    1. 安装 git-daemon-sysvinit

    2. vi /etc/default/git-daemon

    GIT_DAEMON_ENABLE=true
    GIT_DAEMON_OPTIONS="--export-all"

    3. cd /var/cache/git && ln -s /srv/www-data/chefull.com/@ www.git

    4. update-rc.d git-daemon && service git-daemon start

    5. ifconfig eth0 | grep '20.13.5.'

    ----

    git remote set-url pengpeng git://20.13.5.x/git/www.git

    vi /etc/apt/sources.list
    23021 2014-05-13 10:19:21 apt-get update
    23022 2014-05-13 10:20:33 apt-cache search git-daemon
    23023 2014-05-13 10:20:49 apt-get install git-daemon
    23024 2014-05-13 10:20:52 apt-get install git-daemon-run
    23025 2014-05-13 10:21:25 apt-get purge aircrack-ng
    23026 2014-05-13 10:21:38 apt-get install
    23027 2014-05-13 10:21:41 apt-get -f install
    23028 2014-05-13 10:21:47 apt-get install git-daemon-run
    23029 2014-05-13 10:22:37 ll /etc/init.d/
    23030 2014-05-13 10:22:50 update-rc.d git-daemon
    23031 2014-05-13 10:22:57 update-rc.d git-daemon defaults
    23032 2014-05-13 10:23:26 apt-get purge git-daemon-run
    23033 2014-05-13 10:23:41 apt-get install git-daemon-sysvinit
    23034 2014-05-13 10:23:51 ll /etc/init.d/
    23035 2014-05-13 10:23:53 ll /etc/init.d/git-daemon
    23036 2014-05-13 10:24:05 dpkg-reconfigure git-daemon-sysvinit
    23037 2014-05-13 10:24:13 update-rc.d git-daemon defaults
    23038 2014-05-13 10:24:28 cat /etc/init.d/git-daemon
    23039 2014-05-13 10:27:49 service git-daemon restart
    23040 2014-05-13 10:33:24 less /etc/init.d/git-daemon
    23041 2014-05-13 10:33:37 vi /etc/init.d/git-daemon
    23042 2014-05-13 10:34:33 service git-daemon start
    23043 2014-05-13 10:34:36 ps | grep git
    23044 2014-05-13 10:35:16 vi /etc/default/git-daemon
    23045 2014-05-13 10:36:06 less /etc/init.d/git-daemon
    23046 2014-05-13 10:36:25 service git-daemon stop
    23047 2014-05-13 10:36:27 service git-daemon start
    23048 2014-05-13 10:37:04 cat /etc/default/git-daemon
    23049 2014-05-13 10:37:44 ifconfig eth0
    23050 2014-05-13 10:38:02 ifconfig eth0 | grep inet addr
    23051 2014-05-13 10:38:07 ifconfig eth0 | grep 'inet addr:'
    23052 2014-05-13 10:38:21 ifconfig eth0 | grep '20.13.5.'
    23053 2014-05-13 10:38:45 git remote -v
    23054 2014-05-13 10:40:19 ifconfig eth0 | grep '20.13.5.'

    git remote set-url fairyin git://20.13.5.51/git/www.git

  • 相关阅读:
    git fetch 和git pull 的差别
    解决npm install安装慢的问题
    Git本地分支和远程分支关联
    phalapi 2.14 使用(一)增加顶级命名空间、调整返回结构字段
    vue-element-template实战(五) 获取后端路由表动态生成权限
    vue-element-template实战(四)使用mock数据,新增用户管理界面
    使用phalapi 2.14版本的问题及解决办法
    关于vue
    git详细操作
    三次握手四次挥手理解
  • 原文地址:https://www.cnblogs.com/fairyin/p/3955405.html
Copyright © 2011-2022 走看看