Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note on adding build folder to .gitignore #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions writing-apps/our-first-app/the-build-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ If all went well, you should now be able to open your app from the Applications

{% hint style="warning" %}
If you were about to add the "build" folder to your git repository and push it, stop! This binary was built for your computer and we don't want to redistribute it. In fact, we built your app in a separate folder like this so that we can easily delete or ignore the "build" folder and it won't mess up our app's source code.

In fact, you should create a file called [.gitignore](https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files), add the build folder to it (`echo 'build' >> .gitignore`), and add then add the .gitignore file your repository so you (or someone else on your team) doesn't end up accidentally adding the "build" folder to your repository in the future.
{% endhint %}

## Review
Expand Down