FAQs

This page will be updated frequently. Start at this page if you have a problem.

Git
How do I add files to git?
Make sure you are inside your git folder (Gitlab folder). Once you are in there, use the following commands:
  • git add filename
  • git commit -m "Commit message"
  • git push origin master
How do I clone a project?
Use git clone "git link". More on this in the resource page.
What is authentication error when trying to clone?
This error message means you have entered the wrong password. Try to clone again with the correct password. It might not show typing when hitting password although it is getting registered. For Windows users once you see Authentication failure you should be following the steps mentioned below:
  • From start menu, search for "Credential Manager" and select it.
  • Then click on "Windows Credentials"
  • Under "Generic Credentials", remove your credential of gitlab.cs.uno.edu
  • Then go to your gitlab account. Always sign in using "UNO Active Directory Login"
  • Go to settings of your gitlab account and the change password
  • Now follow the cloning process and type in your correct UNO username and password that you have recently changed.
  • You should be able to clone a repository in your local machine.
How can you push all your java files together?
So, it is important that your gitlab repository is as clean and organized as possible. While you work on your local repository, you might have all .class files and handin.zip files in it. you should be uploading only your java files to gitlab. You can do that by following the steps mentioned below:
  • git add *.java
  • git commit -m "Your message over here. Type in relevant message that will help you back track your submissions"
  • git push origin master
Here, *.java represents "add all the files that have an extension .java" . This way you can submit all your java files together and your repository will look clean and readable as well.
Autolab
How do I submit to autolab?
To submit to autolab, compress all your work (java files) into a zip file named "handin.zip" Go to autolab.cs.uno.edu and click on the lab under 1581. You can drag and drop the handin file or click and select the file. You will get your grades within a few minute of submission.
I have my code give correct output, but autolab is only giving me 2 points.
The most common error while submitting to autolab are:
  • Check for the new line character (\n). Usually, when using printf, you might have forgot to append a new line character.
  • You should not print any additional output than that is given to you. This means you should not print any prompt messages such as Enter a number. If the pdf handout shows only a number as output, your program should print the output only.
  • Sometimes, you might have forgotten to print your answer. Double check your solution for correct output before submitting.
Misc
Where can I find more information about Javadocs?
You can find more about here.