Here is the script that ultimately worked. I think the bit I was originally missing that prevented it from working remotely was the unset GIT_DIR

#!/bin/sh
cd /path/to/working-copy/ || exit
unset GIT_DIR
git pull repo branch

exec git-update-server-info

最新文章

  1. linux下c程序的链接、装载和库(3)
  2. PHP面向对象05_接口与多态
  3. 创建Android项目时出错——No resource found that matches the given name 'Theme.AppCompat.Light'
  4. ORGANIZATION
  5. graph_tool源码及其注释
  6. Owin管道与asp.net管道模型
  7. NDK环境配置
  8. windows 下安装elasticsearch
  9. 关于php读mysql数据库时出现乱码的解决方法
  10. 获取ubuntu 的root密码,告别sudo
  11. storm 1.0版本滑动窗口的实现及原理
  12. jQuery手风琴制作
  13. Django学习笔记(9)—— 开发用户注册与登录系统
  14. rem 自适应适配方法
  15. Spring Cloud Stream消费失败后的处理策略(二):自定义错误处理逻辑
  16. Mybait缓存机制
  17. synchronized和lock以及synchronized和volatile的区别
  18. request.getSession(true)和request.getSession(false)的区别
  19. 第六次Scrum冲刺
  20. 编程开发之--Oracle数据库--存储过程在out参数中使用光标(3)

热门文章

  1. cuda(2) 矩阵乘法优化过程
  2. 转载:Python中的new style class机制实现
  3. xcode7下开发ios9等相关问题记录
  4. openstack 调试
  5. javascript如何监听页面刷新和页面关闭事件
  6. C语言、Java的编译系统
  7. Yii2 ActiveForm表单自定义样式
  8. ABAP ALV表头的实现
  9. SSH开源框架考试题
  10. A Practical Guide to Distributed Scrum - 分布式Scrum的实用指南 - 读书笔记