タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

gitとBitbucketに関するhkjのブックマーク (2)

  • 初めてGitHubリポジトリにpushしたらrejectedエラーになったときの対応メモ - Qiita

    % git push origin master To https://github.com/xxxx/xxxxx.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/xxxx/xxxxx.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes

    初めてGitHubリポジトリにpushしたらrejectedエラーになったときの対応メモ - Qiita
    hkj
    hkj 2018/04/17
    git fetch && git merge --allow-unrelated-histories origin/master.初期状態にて、Readme.mdがあるのが原因か
  • 非エンジニアのためのGitバージョン管理~Bitbucketの登録とはじめてのプッシュ

    リモートリポジトリとは何かってことについてお伝えしました。 ネットを介して他の人とソースコードやバージョン管理を共有して共同作業をしたい場合にはリモートリポジトリが必要で、それを簡単に使わせてくれるのがホスティングサービスってなわけです。 ということで、今回はリモートリポジトリのホスティングサービスであるBitbucketの登録とリモートリポジトリへの最初のプッシュについてお伝えしていきます。 では、行ってみましょう! Bitbucketにログインするまで リポジトリホスティングサービスBitbucketは、これまでシリーズで紹介してきている、グラフィカルなインターフェースでGitを操作できるアプリケーションSourceTreeを提供をしているAtlassian社がサービスをしています。 だから相性がいいんですね。 あと、ユーザーが5人までであれば非公開リポジトリでも無料で使うことができま

    非エンジニアのためのGitバージョン管理~Bitbucketの登録とはじめてのプッシュ
  • 1