From 639b0a6cfc3bdcb25d5c5358fc969bfc29ce6613 Mon Sep 17 00:00:00 2001 From: Aral Balkan Date: Sat, 21 Aug 2021 18:40:11 +0100 Subject: [PATCH] Add note on adding build folder to .gitignore Please feel free to edit as you see fit. --- writing-apps/our-first-app/the-build-system.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/writing-apps/our-first-app/the-build-system.md b/writing-apps/our-first-app/the-build-system.md index a6d533a..4b2b3f8 100644 --- a/writing-apps/our-first-app/the-build-system.md +++ b/writing-apps/our-first-app/the-build-system.md @@ -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