LoginSignup
22
29

More than 3 years have passed since last update.

GASもGitHubでバージョン管理(2021/4)

Posted at

できるわけないと思っていましたがどうやら常識だった模様。

準備

google chrome
gitHubのアカウント

▼今回の主役(chromeの拡張機能)

▼拡張機能を入れる前と後
スクリーンショット 2021-04-10 19.59.28.png

スクリーンショット 2021-04-10 20.02.18.png

エディタの上に何やらボタンが増えましたね。

▼gitHub access tokenを取得する
以下サイトにログインしてtokenを生成する
https://github.com/settings/tokens

Generate new tokenをクリック

画像.PNG

repoの権限を渡す

画像.PNG

生成されたtokenをコピーしておく。

▼GitHubと連携する
先ほど増えたボタン群のLoging SCMをクリックし、gitHubのusernameと先ほど取得したgithub access tokenを入力してログインする

画像.PNG

▼GASのエディタに戻る

あとは直感でわかると思いますが⬇️がpullで⬆️がpushの模様です!

22
29
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
22
29