{"action":"closed","issue":{"url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1299","repository_url":"https://api.github.com/repos/libgit2/libgit2sharp","labels_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1299/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1299/comments","events_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1299/events","html_url":"https://github.com/libgit2/libgit2sharp/issues/1299","id":147669144,"number":1299,"title":"How to add all files to the repository (git add *)?","user":{"login":"Rowandish","id":5196418,"avatar_url":"https://avatars.githubusercontent.com/u/5196418?v=3","gravatar_id":"","url":"https://api.github.com/users/Rowandish","html_url":"https://github.com/Rowandish","followers_url":"https://api.github.com/users/Rowandish/followers","following_url":"https://api.github.com/users/Rowandish/following{/other_user}","gists_url":"https://api.github.com/users/Rowandish/gists{/gist_id}","starred_url":"https://api.github.com/users/Rowandish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rowandish/subscriptions","organizations_url":"https://api.github.com/users/Rowandish/orgs","repos_url":"https://api.github.com/users/Rowandish/repos","events_url":"https://api.github.com/users/Rowandish/events{/privacy}","received_events_url":"https://api.github.com/users/Rowandish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T08:12:06Z","updated_at":"2016-04-13T14:31:11Z","closed_at":"2016-04-13T14:31:11Z","body":"As explained in the title, I'd like to add all file to the repository working area (`git add *`).\r\nI try the following codes:\r\n\r\n`repository.Index.Add(\"*\");`\r\n\r\n`repository.Index.Add(\".\");`\r\n\r\nbut I always get `Invalid path`.\r\n\r\nIs there a way (other than looping through all files in folder) to solve this?\r\n\r\nThanks!\r\n"}}