その他 > その他 > GitHubのコミットがうまくいかない |
その他
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2018/4/24 15:58
対応状況: 解決済
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1646 |
GitHubのコミットがうまくいかない 本体開発をしたいと思っているのですが、GitHubのコミットがうまくいきません。
当方Git初心者です。 こちらのページを参考にGitHubの環境構築を行っています。 http://doc.ec-cube.net/collaboration_githubflow add のあとに commit したところ、「nothing to commit, working tree clean」と表示されてしまいます。 また、その後の push では「error: src refspec admin_basis_point does not match any.」と表示されてしまいます。 以下、コンソールでのコマンドです。 $ brew install git $ brew upgrade git $ git --version $ git config --global user.name "hironori-tanaka" $ git config --global user.email "xxxxxxxxxxxxx" $ git clone https://github.com/hironori-tanaka/ec-cube.git $ cd ec-cube $ git branch -a $ git remote add upstream https://github.com/EC-CUBE/ec-cube.git $ git remote -v $ git fetch upstream $ git checkout -b user_branch upstream/master $ git push origin user_branch 開発する … ※ここまではうまくいっています $ git add src/Eccube/Entity/ProductClass.php $ git add src/Eccube/Entity/Product.php $ git commit -m "購入履歴に紐づけできない商品があると、マイページ注文履歴でEntity was not found.になる問題を修正" On branch user_branch Your branch is up to date with 'upstream/master'. nothing to commit, working tree clean $ git push origin admin_basis_point error: src refspec admin_basis_point does not match any. error: failed to push some refs to 'https://github.com/hironori-tanaka/ec-cube.git'
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» GitHubのコミットがうまくいかない | h_tanaka | 2018/4/24 15:58 |
Re: GitHubのコミットがうまくいかない | red | 2018/4/24 16:01 |
Re: GitHubのコミットがうまくいかない | h_tanaka | 2018/4/24 16:29 |