{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/pygit2/issues/499","repository_url":"https://api.github.com/repos/libgit2/pygit2","labels_url":"https://api.github.com/repos/libgit2/pygit2/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/pygit2/issues/499/comments","events_url":"https://api.github.com/repos/libgit2/pygit2/issues/499/events","html_url":"https://github.com/libgit2/pygit2/pull/499","id":59794102,"number":499,"title":"Add Submodule type.","user":{"login":"pks-t","id":4056630,"avatar_url":"https://avatars.githubusercontent.com/u/4056630?v=3","gravatar_id":"","url":"https://api.github.com/users/pks-t","html_url":"https://github.com/pks-t","followers_url":"https://api.github.com/users/pks-t/followers","following_url":"https://api.github.com/users/pks-t/following{/other_user}","gists_url":"https://api.github.com/users/pks-t/gists{/gist_id}","starred_url":"https://api.github.com/users/pks-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pks-t/subscriptions","organizations_url":"https://api.github.com/users/pks-t/orgs","repos_url":"https://api.github.com/users/pks-t/repos","events_url":"https://api.github.com/users/pks-t/events{/privacy}","received_events_url":"https://api.github.com/users/pks-t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-03-04T12:58:34Z","updated_at":"2016-12-26T10:00:26Z","closed_at":"2015-03-09T18:08:10Z","pull_request":{"url":"https://api.github.com/repos/libgit2/pygit2/pulls/499","html_url":"https://github.com/libgit2/pygit2/pull/499","diff_url":"https://github.com/libgit2/pygit2/pull/499.diff","patch_url":"https://github.com/libgit2/pygit2/pull/499.patch"},"body":"Add the submodule type with methods Repository.lookup_submodule(path)->Submodule, Repository.listall_submodules()->[paths], Submodule.open()->Repository and attributes Submodule.path, Submodule.url, Submodule.name.\n"},"comment":{"url":"https://api.github.com/repos/libgit2/pygit2/issues/comments/269194509","html_url":"https://github.com/libgit2/pygit2/pull/499#issuecomment-269194509","issue_url":"https://api.github.com/repos/libgit2/pygit2/issues/499","id":269194509,"user":{"login":"Macsnow14","id":15231162,"avatar_url":"https://avatars.githubusercontent.com/u/15231162?v=3","gravatar_id":"","url":"https://api.github.com/users/Macsnow14","html_url":"https://github.com/Macsnow14","followers_url":"https://api.github.com/users/Macsnow14/followers","following_url":"https://api.github.com/users/Macsnow14/following{/other_user}","gists_url":"https://api.github.com/users/Macsnow14/gists{/gist_id}","starred_url":"https://api.github.com/users/Macsnow14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Macsnow14/subscriptions","organizations_url":"https://api.github.com/users/Macsnow14/orgs","repos_url":"https://api.github.com/users/Macsnow14/repos","events_url":"https://api.github.com/users/Macsnow14/events{/privacy}","received_events_url":"https://api.github.com/users/Macsnow14/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T10:00:26Z","updated_at":"2016-12-26T10:00:26Z","body":"may I ask how to **add a submodule** using pygit2?\r\nI tried **clone** a repo which I want to use as a submodule into my repo but it just added a directory not a git submodule.\r\nso... how to add a submodule exactly?"}}
{"actor":{"display_login":"Macsnow14"}}