I share this blog with my thoughts and creations from my daily programming, knowledge, and technology updates.
Friday, August 30, 2019
GitHubでフォークしたリポジトリをSourcetreeでクローンしたい
Googleの blockly のGitHubリポジトリをフォークしてSourcetreeでクローンしたときの備忘録
google/blockly
https://github.com/google/blockly
GitHubのblocklyのリポジトリで「Fork」をクリックして自分のアカウントにフォーク
「新規」から「URLからクローン」を選択
「ソースURL」を入れてクローン
これでローカルにクローンできました。
フォーク元のリポジトリをリモートに追加してみる
リモートでコンテキストメニューを開いてリモートを追加
リモートの名前:upstream
URL / パス:フォーク元のリポジトリのURL
「OK」をクリック
これでリモートにフォーク元のリポジトリが追加されました。
参考
https://qiita.com/takanemu/items/a576038f091c850693bc
https://backlog.com/ja/git-tutorial/intro/14/
https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow
Latest post
Creating a template copier app in Google Apps Script
Introduction This article will show you a template copier application in Google Apps Script. This application will automatically copy a t...