以下の手順でできました。既存のリポジトリ・ブランチに保存したい場合は①②の手順は不要です。
①GitHubでリモートリポジトリを作る
②適当な場所にローカルリポジトリを作り、ブランチを作成する
③Google Colaboratoryで当該ノートブックを開き、「ファイル」→「GitHubにコピーを保存」を選択
③別タブが開き認証画面が出るため、「Authorize GoogleColab」を選択
④GitHubのパスワードを入力
⑤保存先のリポジトリとブランチ、コミットメッセージを指定して、「OK」を選択
More than 1 year has passed since last update.
Google Colaboratoryで作成したファイルをGitHubにプッシュする方法
Posted at
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme