-
Notifications
You must be signed in to change notification settings - Fork 209
Working with the Repo
Here's a few tips for working with the Community Library repo.
Now that you've cloned the repo, make your fork using the following steps:
- Hit the Fork button on this repo's page.
- Select your account when prompted.
- In Gitbash/Terminal, navigate to the
src/BG3-Community-Library
folder. - Input
git remote add working PersonalRepoLink.git
.
One of Git's most well-known features is branching. When working on a new feature, it's best to do the following: git checkout -b FeatureBranchName
. When doing this, yu can switch back and forth between the original content and your changes as needed. Generally, before switching branches, you'll want to commit your changes using the following commands.
git add ChangedFiles, separated by spaces
git commit -s
When using git add
, you can enter a directory name, and all files and folders within that directory will be added to your commit. For this project, don't use git add *
, as you may inadvertently add files you don't want tracked.
We do not use -m
with git commit
. -m
is handy in some cases, but it prevents thorough commit descriptions. git commit
will take you into a virtual text editing environment. The first line will be the title of the commit. Make the title descriptive enough to explain the purpose of the commit, but don't make it too long. Make two line breaks after the title, and then make a bullet-point list of changes made. Here is an example.
Bound Weapons + gitignore additions
- Ignore .zip files.
- Add Bound Weapon Spells/Scripts.
-s
appends a virtual signature to your commit. This isn't necessary, but it looks more professional.
- Overview
- Sample Projects
- Action Resources
- Spells
- Passives
- Statuses
- Items
- Races
- Classes
- Scripts
- Visual Resources
Setting up a Development Environment (BEING REWRITTEN)
- A Modder's Guide to Git
- Recommended/Required Tools
- Creating Your Folder Structure
- Working with the Repo
- How to Use the Multitool
- Class Descriptions
- Ability Distribution Presets
- Progressions
- Localization
- Abilities, Passives, and Spells
- Passive and Spell Lists
- Custom Equipment
- Class Icons
- Skill Icons (TODO)
- Handling Subclasses (TODO)
- Race Entry
- Root Templates
- Character Visuals
- Character Creation
- Localization
- Racial Feats
- Racial Progressions
- Tags
- Custom Icons