やりたいこと:既存のUnityのプロジェクトにgithubを導入したい。
https://teratail.com/questions/278352
https://qiita.com/koshian323/items/3f16accc80b649d20e64
上記2つの記事を参照しました。
試したことは以下の通りです。
まずgithub.comサイトにて手動でリポジトリを作成しました。(このときUnityを.gitignoreで設定しています。)
その後以下のコマンドをターミナル上で使用しました。
※ls,historyコマンド等は省いています。
565 cd ~/CameraProcess/ (CameraProcessはUnityプロジェクトのディレクトリです)
567 git init
569 git remote add origin https://github.com/○○/TestGit.git
572 git remote -b
573 git remote -v
574 git pull origin main
577 git add .
578 git commit -m "Add project"
579 git push origin main
ディレクトリを変えてみたり、色々試してみましたがどうにも行きません…。
お力添えいただけますと幸いです。

回答1件
あなたの回答
tips
プレビュー