LoginSignup
0
0

More than 3 years have passed since last update.

備忘録:git関連:RaspberryPiで学ぶROSロボット入門

Posted at

GW連休中に引き続き「RaspberryPiで学ぶROSロボット入門」を進めていきます。

4.4.1章のMake installがうまくいかなかったのですが、Makefileの「install」と「uninstall」の間に空行を入れていなかったからみたいです。

参考情報「Raspberry Piで学ぶ ROSロボット入門」の情報リポジトリ

6.3章で本の通りのいかないで困ってます。

ubuntu@ubuntu:~/catkin_ws/src/pimouse_ros$ git remote add origin git@github.com:*****/pimouse_ros.git
fatal: remote origin already exists.

このページが参考になりました:fatal: remote origin already exists. と表示された場合の解決法

次はこれに困りました

ubuntu@ubuntu:~/catkin_ws/src/pimouse_ros$ git pull origin master
fatal: Couldn't find remote ref master

これは次のページでfatalが出なくなったので良しとして進めてみます。
git pull origin masterしたら「fatal: Couldn't find remote ref master」となる

次はこれに困りました。

ubuntu@ubuntu:~/catkin_ws/src/pimouse_ros$ git commit -m "Add package files"
ブランチ master
nothing to commit, working directory clean

対処法がいまいちわからないので、次のページを参考に6章を最初からやりなおしてみます:ローカルファイル削除、リポジトリ削除
Git add できない場合の対処法

【次回】と思ったけど、githubにpushできているので、もう少し続けてみたいと思います

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0