[openstack-dev] [all] need help with my first commit: The branch 'master' does not exist on the given remote 'gerrit'

Tran, Steven steven.tran2 at hp.com
Tue Jan 27 05:09:52 UTC 2015


Hi,
   Can someone point out what I miss that results in the following warning?

$ git review
The branch 'master' does not exist on the given remote 'gerrit'. If
these changes are intended to start a new branch, re-run with the '-R'
option enabled.


I believe I shouldn't do "git review -R" because it prompts me to submit multiple commits.
I can do "git review -s" without any errors.
I follow the steps at http://docs.openstack.org/infra/manual/developers.html#starting-a-change
I'm using Cygwin.

$ git status
On branch bp/murano-driver
nothing to commit, working directory clean

$ git branch
* bp/murano-driver
  master

$ git config --list
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
remote.origin.url=https://github.com/stackforge/congress.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
remote.gerrit.url=ssh://stevenldt@review.openstack.org:29418/stackforge/congress.git
user.name=Steven Tran
user.email=steven.tran2 at hp.com
gitreview.username=stevenldt

$ git log
commit 5567b6e4622246ad86cdb9d6c0643427573e8d13
Author: Steven Tran <steven.tran2 at hp.com>
Date:   Mon Jan 26 17:19:38 2015 -0800

    Change-Id: Idc4abf32a7aa25231a7a6df511df998a0a3a50ad
    Implements: blueprint murano-driver

Thanks,
-Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150127/8b4480a5/attachment.html>


More information about the OpenStack-dev mailing list