Skip to content

Instantly share code, notes, and snippets.

@nutti
Created January 24, 2015 07:39
Show Gist options
  • Save nutti/978abb60606a85688e21 to your computer and use it in GitHub Desktop.
Save nutti/978abb60606a85688e21 to your computer and use it in GitHub Desktop.
[Blender] BlenderプラグインをBlender本体に取り込んでもらうまでの流れ ref: http://qiita.com/nutti/items/a63eb404a506c2081be2
>>> l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>>> double_l = []
>>> for i in l:
... double_l.append(i * 2)
...
>>> double_l
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
>>> l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>>> double_l = [i * 2 for i in l]
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
$ cd [作業用ディレクトリ]
$ git clone git://git.blender.org/blender-addons-contrib.git
$ cd blender-addons-contrib
$ git submodule update --init --recursive
$ git submodule foreach --recursive git checkout master
$ git submodule foreach --recursive git pull --rebase origin master
$ git pull --rebase
$ git submodule foreach --recursive git pull --rebase origin master
git config --global user.name "[名前(ニックネーム可)]"
git config --global user.email "[連絡先メールアドレス]"
$ git remote set-url origin git@git.blender.org:blender-addons-contrib.git
$ cd blender-addons-contrib
$ cp [作成したプラグイン] .
$ git add [作成したプラグイン]
$ git commit
$ git pull --rebase
$ git push
$ cd [作業用ディレクトリ]
$ git clone git://git.blender.org/blender-addons-contrib.git
$ cd blender-addons-contrib
$ cp [作成したプラグイン] .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment