小编Jes*_*ett的帖子

bash:意外令牌附近的语法错误`(' - Python

# from lxml import etree; 
import module2dbk; 
print module2dbk.xsl_transform(etree.parse('test-ccap/col10614/index.cnxml'), []);

Error: bash: syntax error near unexpected token `('
Run Code Online (Sandbox Code Playgroud)

python syntax

21
推荐指数
3
解决办法
7万
查看次数

github工作流 - 致命:不是git存储库(或任何父目录):.git

我有一个主分支和一个dev分支用于当前开发(本地工作副本).我需要将master中的更改合并到我的dev分支上.合并之前我运行git stash并发现以下错误:

fatal: Not a git repository (or any of the parent directories): .git

为了调查此错误,我运行了以下命令: git status git branch git remote -v.都产生了同样的错误fatal: Not a git repository (or any of the parent directories): .git

我也尝试重置我的分支的原点,产生相同的结果: git remote set-url origin https://github.com/Connexions/oer.exports.gitfatal: Not a git repository (or any of the parent directories): .git

我也无法将本地工作目录中的任何更改提交到我的dev分支.

有没有人对如何纠正这个问题有任何建议.

git merge repository

5
推荐指数
2
解决办法
2万
查看次数

标签 统计

git ×1

merge ×1

python ×1

repository ×1

syntax ×1