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

Broken when git co -b #12

Open
cjcjameson opened this issue Jun 13, 2016 · 1 comment
Open

Broken when git co -b #12

cjcjameson opened this issue Jun 13, 2016 · 1 comment

Comments

@cjcjameson
Copy link

 ~/workspace/gpdb4  ae tm   4.3_STABLE ✚ 
 office-4-21  git co -b sles_121267993
A   ci/concourse/build_gpdb_sles.yml
A   ci/concourse/scripts/compile_gpdb4_sles.bash
M   configure
A   gpAux/pam/_pam_compat.h
A   gpAux/pam/_pam_macros.h
A   gpAux/pam/_pam_types.h
A   gpAux/pam/pam_appl.h
A   gpAux/pam/pam_ext.h
A   gpAux/pam/pam_modules.h
A   gpAux/pam/pam_modutil.h
M   gpAux/releng/releng.mk
Switched to a new branch 'sles_121267993'
fatal: ambiguous argument 'HEAD..origin/sles_121267993': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'origin/sles_121267993..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
@bhuvnesh2703
Copy link

This also comes up when we have multiple remotes in a repo.

 ~/workspace/gpdb4  ae bc  ↑ ↓  postgis_gppkg 
 fernando  git remote -v
kuien   git@github.com:kuien/gpdb4.git (fetch)
kuien   git@github.com:kuien/gpdb4.git (push)
origin  git@github.com:greenplum-db/gpdb4.git (fetch)
origin  git@github.com:greenplum-db/gpdb4.git (push)
fatal: ambiguous argument 'HEAD..origin/postgis_gppkg': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'origin/postgis_gppkg..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
 ~/workspace/gpdb4  ae bc  ↑ ↓  postgis_gppkg 
 fernando  git branch -vv
  121267993-sles-gpdb4-pipeline 891116e [origin/121267993-sles-gpdb4-pipeline: ahead 1] Remove unwanted SLES jobs from the pipeline.
  4.3.8.2.GE1                   142b989 [origin/4.3.8.2.GE1] Rotate credentials for dockerhub gpdb account [#122208893]
  4.3.8.2.GE2                   bec0e77 [origin/4.3.8.2.GE2] Fix memtuple forming bug when null-saved size is larger than 32763 bytes
  4.3_STABLE                    cc6a09b [origin/4.3_STABLE] loaders includes for centos sles
  4.3_STABLE-staging            f2b5d76 Add RHEL and SLES clients packaging. [#120614129]
  4.3_STABLE_ADD_LOADERS        7fc1bd7 [origin/4.3_STABLE_ADD_LOADERS: ahead 9] loaders includes for centos sles
  4.3_STABLE_LOADERS            231e006 Fix missed test case in gpcheckcat
  4.3_STABLE_TEST               e7a0c38 [origin/4.3_STABLE_TEST: ahead 3, behind 4] gpcheckcat refactoring and nomenclature changes
  ci_into_master                3e37dd4 [origin/ci_into_master] Rename references of gpdb4 to gpdb #120767731
  gpdb-starter-ci               ea9c107 [origin/gpdb-starter-ci] Add concourse ci pipeline, configuration, and scripts [#115616393]
* postgis_gppkg                 30e1c7b [kuien/postgis_gppkg] Able to generate postgis.gppkg
fatal: ambiguous argument 'HEAD..origin/postgis_gppkg': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'origin/postgis_gppkg..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

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

No branches or pull requests

2 participants