Skip to content

entech281/Season_2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contents

Build Status

Build Status

Java Conventions

Eclipse Preferences > Java > Code Style > Formatter > New > Name the profile to Team281 Conventions > Initialize settings with "Java Conventions" > OK > Change Tab policy to "Spaces only" > Set Indentation size to 4 > Set Tab size to 4 > OK

Terminal Help

Instructions imply you're already in the Season_2018 directory

To push your changes to a branch

  1. git checkout branchname
  2. git add --all
  3. git commit -m 'Enter commit message here'
  4. git push

To make a merge (pull) request

  1. Go to Pull Requests in GitHub
  2. Click on New Pull Request
  3. Select "base: master" and "compare: Your Branch Goes Here"
  4. Make a good title and description so reviewers understand your code
  5. Add people to review your code

To deploy to robot

  1. Connect to robot's WiFi hotspot
  2. ./gradlew deploy
  3. Restart Robot Code in the Driver's Station

To delete local changes

  1. git stash
  2. git stash clear
  3. Whatever command you were trying to do before git stopped you due to merge conflicts or incompatabilities with your files

Eclipse Help

Eclipse has lost its mind! - Dave Cowden

Fix Eclipse 101

  1. cd (directory you want to be in)
  2. ./gradlew clean
  3. ls -la
  4. rm -rf .classpath .project .settings
  5. ./gradlew eclipse
  6. Open eclipse and browse to directory

To format your document

Gif showing process

To run a test

Gif showing process

Helpful Information

  • pwd (to find current directory)
  • ls (to see the names of all files inside current directory)
  • git reset --hard CommitIdentifierCode (to rollback to a previous commit)
  • git reset --hard (to reset to the last git pull'ed version of a branch)
  • git reset -f (to undo a branch checkout)
  • git checkout -b BranchName (to create a branch)

External Links

Back to top

Last updated 2/24/18 by Santiago

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages