Skip to content

改进 .gitignore#6

Open
NoNormalCreeper wants to merge 1 commit intonanjo712:mainfrom
NoNormalCreeper:fix
Open

改进 .gitignore#6
NoNormalCreeper wants to merge 1 commit intonanjo712:mainfrom
NoNormalCreeper:fix

Conversation

@NoNormalCreeper
Copy link
Contributor

改进 .gitignore 文件,防止构建后生成的文件也被提交。

@nanjo712
Copy link
Owner

nanjo712 commented Oct 3, 2024

把build写进去就可以了吧,这样应该不会把构建文件也加进去

@NoNormalCreeper
Copy link
Contributor Author

我开始也这么想,但我构建之后根目录确实多了这些东西。另外,两个密钥文件好像是初次运行的时候自动生成的。
见下图:
构建后的目录结构

@nanjo712
Copy link
Owner

nanjo712 commented Oct 3, 2024 via email

@NoNormalCreeper
Copy link
Contributor Author

那一般来说是cmake命令的目录不对,一般在build里面执行cmake命令 密钥文件在哪主要是看你执行文件的目录,他会在工作目录下生成,如果你的工作目录是根目录,那自然在根目录生成

________________________________ 发件人: NoNormalCreeper @.> 发送时间: 2024年10月3日 7:31 收件人: nanjo712/communication_teaching @.> 抄送: woshiren @.>; Comment @.> 主题: Re: [nanjo712/communication_teaching] 改进 .gitignore (PR #6) 我开始也这么想,但我构建之后根目录确实多了这些东西。另外,两个密钥文件好像是初次运行的时候自动生成的。 见下图: image.png (view on web)https://github.com/user-attachments/assets/869c1aad-f612-4342-b6e0-bfe58e72c7dd ― Reply to this email directly, view it on GitHub<#6 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALHSF7QPZLM6ZBAIEZVW2NTZZTXELAVCNFSM6AAAAABPH3ZPSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJQG4YTONJRGU. You are receiving this because you commented.Message ID: @.***>

嗯嗯,是这样的,我在根目录执行了 cmake 命令,是我这里的问题()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants