【发布时间】:2016-09-15 04:44:10
【问题描述】:
我有以下配置:
git version 1.8.5.6
GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
我打电话给zgit_info_update 并尝试提交。但是在 Travis (Git diff command returns error #6069) 中从 Bash 运行 git diff --name-only dev 时我仍然遇到问题。
我怎样才能让它工作?
这里是输出:
git version 1.8.5.6
GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
* (detached from FETCH_HEAD)
master
remotes/origin/HEAD -> origin/master
remotes/origin/master
[detached HEAD 72afa70] Add package.json
1 file changed, 37 insertions(+)
create mode 100644 package.json
fatal: ambiguous argument 'dev': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
【问题讨论】:
-
暗中刺伤:先试试
git pulling?
标签: git bash continuous-integration travis-ci