Skip to content

2202Programming/Lib2202

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lib2202

Common code across multiple years and robots.

To use this code set it should be added to your robot's project as a git submodule.

git submodule add https://github.com/2202Programming/Lib2202.git src\main\java\frc\lib2202

This will create a .gitmodules in the parent's project file that looks something like this:

[submodule "src/main/java/frc/lib2202"] path = src/main/java/frc/lib2202 url = https://github.com/2202Programming/Lib2202.git

Robot code will then be based on both your project's repo and the library repo.

If you have trouble switching branches

git switch -f --recurse-submodules

Not sure if this should be --local or --global? git config --local submodule.recurse true

About

Common code across multiple years and robots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages