質問 > その他 > GitHubでbranchの作成に失敗する |
その他
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2017/4/5 17:29
対応状況: 解決済
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1654 |
GitHubでbranchの作成に失敗する GitHubの質問です。
こちらのページを参考に初めてGitHubを使用しようとしています。 http://qiita.com/megu_ma/items/e459e62821bdd6dbaccb http://doc.ec-cube.net/collaboration_githubflow 本サイトからcloneを作成するところまで成功していますが、branchの作成に失敗してしまいます。 どうすればよいでしょうか? 以下、コンソールでのコマンドです。 git config --global user.name "xxxxxxxxxx" git config --global user.email "xxxxxxxxxxxxx" git clone https://github.com/hironori-tanaka/ec-cube.git →ディレクトリにソースが作成された git branch -a →なにもメッセージが出ない git remote add upstream https://github.com/EC-CUBE/ec-cube.git git remote -v →originに登録されたメッセージが出ない git fetch upstream →なにもメッセージが出ない git checkout -b branch upstream/master →Switched to a new branch 'upstream/master' git push origin branch →以下のエラーメッセージが表示される ----- fatal: The current branch upstream/master has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin upstream/master ----- git push --set-upstream origin develop →以下のエラーメッセージが表示される ----- error: src refspec develop does not match any. error: failed to push some refs to 'origin' -----
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» GitHubでbranchの作成に失敗する | h_tanaka | 2017/4/5 17:29 |
Re: GitHubでbranchの作成に失敗する | umebius | 2017/4/5 22:47 |
Re: GitHubでbranchの作成に失敗する | h_tanaka | 2018/4/24 15:17 |