摘要: 工程地址: https://pypi.python.org/pypi/GitPython/需要安装先安装: gitdb https://pypi.python.org/pypi/gitdbGitPython使用模块对象访问git配置库。仓库操作 初始仓库对象 from git import * repo = Repo(repo_path) assert repo.bare == False 创建裸库 repo = Repo.init(repo_path,bare=True) assert repo.bare == True 仓库数据高层接口可以新增/删除 heads/tags/remotes. 阅读全文
posted @ 2013-06-28 22:01 蓝桥书生 阅读(1559) 评论(0) 推荐(1) 编辑
摘要: 1. 从github下载代码sudo apt-get install git-coregit clonegit://github.com/tchaikov/scim-googlepinyin.gitcd scim-googlepinyin/2. 安装必要的软件sudo aptitude install autotools-dev libgtk2.0-dev libscim-dev libtool automakesudo apt-get install scim3. 编译安装./autogen.shsudo makesudo make install4. 设置System-->Admin 阅读全文
posted @ 2013-03-16 19:45 蓝桥书生 阅读(160) 评论(0) 推荐(0) 编辑