Closed meling closed 9 years ago
This is indeed possible. Will implement this on next overhaul of the GitHub creation process. We should make a list of these files to implement into a standard .gitignore
.
It should also be possible to distribute the .gitignore
by updating it in the labs repo. When the students pull this update their repo will also be subject to this .gitignore
change.
For a sample .gitignore
check your own in autograder. (Looks like the one generated by github for Go projects). You may remove some of the extras, but we should probably leave main
in there.
We also want to add .DS_Store
to .gitignore
When creating a
username-labs
repo, we should make sure to add a.gitignore
file to prevent them from committing.exe
files and similar crap. GitHub usually allow you to do this on manual repo creation, so it may also be possible through the API.One way to work around it is to add
.gitignore
to thelabs
repo so that when students fetch code for the next lab assignment, they will also get the.gitignore
.