{"action":"created","issue":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/453","repository_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck","labels_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/453/comments","events_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/453/events","html_url":"https://github.com/rubberduck-vba/Rubberduck/issues/453","id":74919557,"number":453,"title":"Create a default .gitignore for VBA projects","user":{"login":"rubberduck203","id":2716800,"avatar_url":"https://avatars0.githubusercontent.com/u/2716800?v=4","gravatar_id":"","url":"https://api.github.com/users/rubberduck203","html_url":"https://github.com/rubberduck203","followers_url":"https://api.github.com/users/rubberduck203/followers","following_url":"https://api.github.com/users/rubberduck203/following{/other_user}","gists_url":"https://api.github.com/users/rubberduck203/gists{/gist_id}","starred_url":"https://api.github.com/users/rubberduck203/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubberduck203/subscriptions","organizations_url":"https://api.github.com/users/rubberduck203/orgs","repos_url":"https://api.github.com/users/rubberduck203/repos","events_url":"https://api.github.com/users/rubberduck203/events{/privacy}","received_events_url":"https://api.github.com/users/rubberduck203/received_events","type":"User","site_admin":false},"labels":[{"id":540647402,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/difficulty-01-duckling","name":"difficulty-01-duckling","color":"c2e0c6","default":false},{"id":141909752,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/enhancement","name":"enhancement","color":"FEFEFE","default":true},{"id":175492254,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/feature-source-control","name":"feature-source-control","color":"DDDDDd","default":false},{"id":202355751,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/up-for-grabs","name":"up-for-grabs","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/milestones/21","html_url":"https://github.com/rubberduck-vba/Rubberduck/milestone/21","labels_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/milestones/21/labels","id":1473801,"number":21,"title":"Version 2.1.x","description":"First minor update of 2.0","creator":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars2.githubusercontent.com/u/5751684?v=4","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"open_issues":69,"closed_issues":28,"state":"closed","created_at":"2015-12-24T17:00:35Z","updated_at":"2018-01-26T15:12:38Z","due_on":null,"closed_at":"2017-02-23T04:06:01Z"},"comments":16,"created_at":"2015-05-10T13:23:43Z","updated_at":"2018-02-09T11:38:20Z","closed_at":null,"author_association":"OWNER","body":"> As a VBA dev, I want to keep my documents in the same ire tort as my repository, but exclude it from the repository. I also don't want the user form binary files in the repository. \n\nCreate a default .gitignore file that can be used. Exclude all Microsoft documents and the `*.frx` user form binary files. Initializing a VBA project through the GUI should use this file by default, however I'm undecided about how this should work through COM client code.\n"},"comment":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/comments/364411122","html_url":"https://github.com/rubberduck-vba/Rubberduck/issues/453#issuecomment-364411122","issue_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/453","id":364411122,"user":{"login":"JKAbrams","id":1113994,"avatar_url":"https://avatars2.githubusercontent.com/u/1113994?v=4","gravatar_id":"","url":"https://api.github.com/users/JKAbrams","html_url":"https://github.com/JKAbrams","followers_url":"https://api.github.com/users/JKAbrams/followers","following_url":"https://api.github.com/users/JKAbrams/following{/other_user}","gists_url":"https://api.github.com/users/JKAbrams/gists{/gist_id}","starred_url":"https://api.github.com/users/JKAbrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKAbrams/subscriptions","organizations_url":"https://api.github.com/users/JKAbrams/orgs","repos_url":"https://api.github.com/users/JKAbrams/repos","events_url":"https://api.github.com/users/JKAbrams/events{/privacy}","received_events_url":"https://api.github.com/users/JKAbrams/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T11:38:20Z","updated_at":"2018-02-09T11:38:20Z","author_association":"NONE","body":"As a workaround for people that wants to use the source control features today (knowing that forms will not be part of the source control), here is how to get branching to work (only tested with local branches but it likely works):\r\n\r\n1. Figure out the name of the folder RubberDuck creates by creating a new local repository\r\n\r\n1. b) Not sure it needed but it might be a good idea to quit Excel here.\r\n\r\n2. Empty the contents of the folder (including the .git folder) \r\n\r\n3. Create new .gitignore file in the folder containing:\r\n*.frx\r\n*.frm\r\n\r\n4. Create a new local repository from within RubberDuck\r\n\r\nTested in Excel.\r\n\r\nNow switching branches works. There is a further problem in creating new branches that I'll describe in a new bug, but for now let me just note that it creates branches not from the current state bur from the state when the repository was first created."}}
{"actor":{"display_login":"JKAbrams"}}