kea-classrooms / ITA-BBS-Amalie956

ITA-BBS-Amalie956 created by GitHub Classroom
0 stars 1 forks source link

Make git ignore sample files #2

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

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.

Amalie956 commented 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: billede

Tjekker for at se om samples bliver ignoreret: billede billede

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 billede