{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2271","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2271/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2271/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2271/events","html_url":"https://github.com/angular/angular-cli/issues/2271","id":178346759,"number":2271,"title":"ng init asks: Overwrite some files (Yn...)  no information to base answer on.","user":{"login":"lebsral","id":2120007,"avatar_url":"https://avatars.githubusercontent.com/u/2120007?v=3","gravatar_id":"","url":"https://api.github.com/users/lebsral","html_url":"https://github.com/lebsral","followers_url":"https://api.github.com/users/lebsral/followers","following_url":"https://api.github.com/users/lebsral/following{/other_user}","gists_url":"https://api.github.com/users/lebsral/gists{/gist_id}","starred_url":"https://api.github.com/users/lebsral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebsral/subscriptions","organizations_url":"https://api.github.com/users/lebsral/orgs","repos_url":"https://api.github.com/users/lebsral/repos","events_url":"https://api.github.com/users/lebsral/events{/privacy}","received_events_url":"https://api.github.com/users/lebsral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-21T13:28:22Z","updated_at":"2016-09-21T15:35:17Z","closed_at":null,"body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n1. OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n10.11.6\r\n\r\n2. Versions. Please run `ng --version`. If there's nothing outputted, please run\r\nin a Terminal: `node --version` and paste the result here:\r\nangular-cli: 1.0.0-beta.15\r\nnode: 6.6.0\r\nos: darwin x64\r\n\r\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\r\n   do on your code? etc.\r\nng init\r\n\r\n4. The log given by the failure. Normally this include a stack trace and some\r\n   more information.\r\n\r\n\r\n5. Mention any other details that might be useful.\r\n\r\n> ---------------------------------------------------------------\r\n> Thanks! We'll be in touch soon.\r\n\r\n\r\nWhen doing an ng init on an existing project it asks if I want to overwrite a series of files.  But since I haven't seen what it is gong to overwrite it with, I have no information to base that decision on.\r\n\r\nI can just say yes to everything then use git to determine which things I want to revert.  But then why ask in the first place?"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/248650366","html_url":"https://github.com/angular/angular-cli/issues/2271#issuecomment-248650366","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2271","id":248650366,"user":{"login":"gelliott181","id":3580685,"avatar_url":"https://avatars.githubusercontent.com/u/3580685?v=3","gravatar_id":"","url":"https://api.github.com/users/gelliott181","html_url":"https://github.com/gelliott181","followers_url":"https://api.github.com/users/gelliott181/followers","following_url":"https://api.github.com/users/gelliott181/following{/other_user}","gists_url":"https://api.github.com/users/gelliott181/gists{/gist_id}","starred_url":"https://api.github.com/users/gelliott181/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gelliott181/subscriptions","organizations_url":"https://api.github.com/users/gelliott181/orgs","repos_url":"https://api.github.com/users/gelliott181/repos","events_url":"https://api.github.com/users/gelliott181/events{/privacy}","received_events_url":"https://api.github.com/users/gelliott181/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T15:35:17Z","updated_at":"2016-09-21T15:35:17Z","body":"The CLI already offers a diff option to see what changes will be made. When you run ng init it will ask `Overwrite file.ext? (Yndh)`. You can decide whether to overwrite (Y, default), skip (n), diff (d), or get help (h).\r\n\r\nThe diff (d) option will then print a comparison of the two files. It's no git diff, but I haven't had to scroll a diff yet, even on an 80 line height console window."}}
{"actor":{"display_login":"gelliott181"}}