{"action":"created","issue":{"url":"https://api.github.com/repos/PoshCode/PSGit/issues/2","labels_url":"https://api.github.com/repos/PoshCode/PSGit/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/PoshCode/PSGit/issues/2/comments","events_url":"https://api.github.com/repos/PoshCode/PSGit/issues/2/events","html_url":"https://github.com/PoshCode/PSGit/issues/2","id":71103731,"number":2,"title":"Add-Change","user":{"login":"Jaykul","id":192942,"avatar_url":"https://avatars.githubusercontent.com/u/192942?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaykul","html_url":"https://github.com/Jaykul","followers_url":"https://api.github.com/users/Jaykul/followers","following_url":"https://api.github.com/users/Jaykul/following{/other_user}","gists_url":"https://api.github.com/users/Jaykul/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaykul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaykul/subscriptions","organizations_url":"https://api.github.com/users/Jaykul/orgs","repos_url":"https://api.github.com/users/Jaykul/repos","events_url":"https://api.github.com/users/Jaykul/events{/privacy}","received_events_url":"https://api.github.com/users/Jaykul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PoshCode/PSGit/labels/new%20cmdlet","name":"new cmdlet","color":"0052cc"},{"url":"https://api.github.com/repos/PoshCode/PSGit/labels/writing%20spec","name":"writing spec","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/PoshCode/PSGit/milestones/1","html_url":"https://github.com/PoshCode/PSGit/milestones/PSGit%20v1","labels_url":"https://api.github.com/repos/PoshCode/PSGit/milestones/1/labels","id":1084163,"number":1,"title":"PSGit v1","description":"The initial set of commands needs to be (at least):\r\n\r\n* New-Repository\r\n* Add-Item\r\n* Remove-Item\r\n* Save-Branch\r\n\r\nWe might throw in:\r\n\r\n* Get-Status, because we want our prompts to work based on this as soon as possible.\r\n* Copy-Repository, because there's no point in git if we can't use it to pull down a project.","creator":{"login":"Jaykul","id":192942,"avatar_url":"https://avatars.githubusercontent.com/u/192942?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaykul","html_url":"https://github.com/Jaykul","followers_url":"https://api.github.com/users/Jaykul/followers","following_url":"https://api.github.com/users/Jaykul/following{/other_user}","gists_url":"https://api.github.com/users/Jaykul/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaykul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaykul/subscriptions","organizations_url":"https://api.github.com/users/Jaykul/orgs","repos_url":"https://api.github.com/users/Jaykul/repos","events_url":"https://api.github.com/users/Jaykul/events{/privacy}","received_events_url":"https://api.github.com/users/Jaykul/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-04-26T18:51:03Z","updated_at":"2015-06-11T15:33:52Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-04-26T18:34:13Z","updated_at":"2015-06-13T03:52:40Z","closed_at":null,"body":"Before we can do anything else, we have to add changes to the current index.\r\nHow should this behave? Should it add * by default?"},"comment":{"url":"https://api.github.com/repos/PoshCode/PSGit/issues/comments/111667266","html_url":"https://github.com/PoshCode/PSGit/issues/2#issuecomment-111667266","issue_url":"https://api.github.com/repos/PoshCode/PSGit/issues/2","id":111667266,"user":{"login":"jrich523","id":2077508,"avatar_url":"https://avatars.githubusercontent.com/u/2077508?v=3","gravatar_id":"","url":"https://api.github.com/users/jrich523","html_url":"https://github.com/jrich523","followers_url":"https://api.github.com/users/jrich523/followers","following_url":"https://api.github.com/users/jrich523/following{/other_user}","gists_url":"https://api.github.com/users/jrich523/gists{/gist_id}","starred_url":"https://api.github.com/users/jrich523/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrich523/subscriptions","organizations_url":"https://api.github.com/users/jrich523/orgs","repos_url":"https://api.github.com/users/jrich523/repos","events_url":"https://api.github.com/users/jrich523/events{/privacy}","received_events_url":"https://api.github.com/users/jrich523/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T03:52:40Z","updated_at":"2015-06-13T03:52:40Z","body":"Just trying to think of how this would be used... here are some methods it could be used\r\n\r\n\r\ngci *.ps1 | add-gitchange # binds to inputobject [FileSystemInfo] has full name, doesnt need root\r\nget-gitchange | add-gitchange # property binding path, needs root\r\n$stringPaths | add-gitchange  # string path binding, may or may not need root, wildcard support?\r\n\r\nadd-gitchange $filePath #position 0 Path\r\nadd-gitchange -pathspec $spec\r\nadd-gitchange -all \r\n"}}