Repository navigation
Create gitignore when using g option - #1430
Conversation
leaanthony
left a comment
There was a problem hiding this comment.
Thanks for opening this. Ioutil is deprecated but there's an equivalent method in the Io package. Otherwise LGTM
|
Please also make sure to use |
|
@stffabi I may be reading it wrong but it looks like forward slash is the format used for all platforms? https://git-scm.com/docs/gitignore This seems to be backed up by the Microsoft documentation at https://docs.microsoft.com/en-us/azure/devops/repos/git/ignore-files?view=azure-devops&viewFallbackFrom=vsts&tabs=visual-studio-2019#use-gitignore-to-prevent-tracking-of-files
|
|
Yeah, the comment was about the os.WriteFile argument and not for the content in .gitignore. |
|
@jaesung9507 Sorry for not being clear enough in my comment and for wasting your time with those filepath.Join in the .gitignore content. |
|
Ah all good 😃 I should have thought of that 😉 |
Head branch was pushed to by a user without write access
|
Thank you for your kind code review. |
stffabi
left a comment
There was a problem hiding this comment.
LGTM, thanks for this PR 👍
No description provided.