Changing Git Submodule Name Renaming MustangLib - HHS-Team670/MustangLib GitHub Wiki

Changing Git Submodule Name Renaming MustangLib

Authors: Armaan

Date: 7/13/2023

When adding MustangLib to a new robot project, it will be cloned as MustangLib. This will mess up all package names as they are .mustanglib. As such the folder needs to be renamed to mustanglib.

Steps

  1. cd into src\main\java\frc\team670\
  2. Run the following commands
    • git mv MustangLib mustanglib2
    • git mv mustanglib2 mustanglib
  3. Then git add, git commit and git push

Resources