Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
parcon18:git-setup [2018/02/14 16:59] guillaume copy-pasted from funprog17:git-setup |
parcon18:git-setup [2018/02/14 17:02] guillaume |
||
---|---|---|---|
Line 23: | Line 23: | ||
=== Importing the Files to the Repository === | === Importing the Files to the Repository === | ||
- | Next, you need to add files from the handout to the repository. First, **copy all the files from the handout to the folder ''projectXX''**. Your ''projectXX'' folder should contain the following files and folders: | + | Next, you need to add files from the handout to the repository. First, **copy all the files from the handout to the folder ''projectXX''**. |
- | + | ||
- | .git/ | + | |
- | assignment.sbt | + | |
- | build.sbt | + | |
- | project/ | + | |
- | scalastyle/ | + | |
- | src/ | + | |
- | + | ||
- | Note that the ''.git'' folder might be hidden. Please make sure you follow this project structure exactly ! Otherwise, the grading infrastructure will reject your project. | + | |
Then, you should issue the following commands: | Then, you should issue the following commands: | ||
Line 51: | Line 42: | ||
Once you have a version of your code you want to test and/or deliver on the grading website, issue the following commands: | Once you have a version of your code you want to test and/or deliver on the grading website, issue the following commands: | ||
- | git commit -a -m "MESSAGE" | + | git commit -am "MESSAGE" |
git push origin projectXX | git push origin projectXX | ||