Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议不能调用外部命令时,能给出错误提示,比如找不到git #157

Open
ccsheller opened this issue Dec 10, 2015 · 2 comments

Comments

@ccsheller
Copy link
Contributor

我装git(windows)时并没有把git放到系统环境变量中,使用的是git自带的shell。
这样emacs找不到git,但是org-page不能给出提示,其执行后,给出Publication finished:************的提示,然后只看到生成了media文件夹。

@sillykelvin
Copy link
Collaborator

嗯,这是一个问题,后续我会在执行publish之前加一下判定。

@Yihulee
Copy link

Yihulee commented Jan 31, 2016

对了,最好直接将git命令的返回结果暴露出来,因为有时候压根就不知道错在哪里,在linux上还好,问题不大,在windows上问题就很大了。
我在配置的时候遇到过这样的一个问题,执行op/new-repository命令的时候老是会报一个错误Failed to commit changes on current branch of repository,这个东西很离奇的,我压根不知道怎么改,后来直接单步执行,发现,在执行git commit命令的时候就已经出错了:
Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your name"
to set your account's default identity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants