Closed github-actions[bot] closed 1 year ago
Jeg starter med at lave en .gitignore fil
@Amalie956 ➜ /workspaces/ITA-BBS-Amalie956 (master) $ touch .gitignore
Derefter skriver man samples i filen:
Tjekker for at se om samples bliver ignoreret:
Stedet for at lave .gitignore filen selv kan man skrive:
@Amalie956 ➜ /workspaces/ITA-BBS-Amalie956 (master) $ echo samples >> .gitignore
Sådan laver den filen selv og ignorer samples
The two scripts you created are great and should be versions controlled in git, but the sample files should not be included. They are just derived from the process and can easily be recreated by rinnig the scripts again.
[x] Create git ignore file that ignores the
samples
folder and everything in it.This way you don't need to remember to delete the
samples
folder before you add anything to git - ignore files are smart.Do you need help? Here's the official documentation in git ignore files but hey! - feel free to use any source of information you can find - be sure to store any good references in the issue comments.