I'm now a CMPG 323 student! ๐คฉ
project 1 will be created on this repository named CMPG-323-Overview - <36564567> โ
- CMPG-323-Overview Project 1 - <36564567>
- CMPG 323 Project 2 - <36564567>
- CMPG 323 Project 3 - <36564567>
- CMPG 323 Project 4 - <36564567>
- CMPG 323 Project 5 - <36564567>
Within a single, central code base, teams of developers can effortlessly interact via branching. The version control system makes a copy of the code base at that precise moment when a developer starts a branch. Other team members' developers are unaffected by changes to the branch.
We follow a feature branching strategy to manage code changes effectively. This strategy allows for parallel development while maintaining code quality and minimizing conflicts.
-
Main Branch: The
main
(ormaster
) branch holds the stable and deployable code. It should always reflect the production-ready state. -
Feature Branches: For each new feature, bug fix, or enhancement, create a new branch based on
main
. Use descriptive names that reflect the feature or issue being addressed (e.g.,feature/user-authentication
,bugfix/data-validation
). -
Pull Requests: When your feature is ready for review, open a pull request from your feature branch to
main
. This allows for code review, discussion, and testing before merging.
-
Create a new branch for your feature or bug fix:
git checkout main git pull origin main git checkout -b feature/new-feature
In this project, we use a '.gitignore' file to determine which files and folders Git will ignore, assuring that just the necessary code and resources are maintained. This strategy contributes to the cleanliness of our repository, removes unneeded clutter, and improves collaboration.
When developing a project, it is common to encounter files and directories that are generated automatically, contain sensitive information, or are unrelated to version control. Git should not track these files. The '.gitignore' file lets us set patterns for files and directories to ignore.
The security of our code and user data is a high priority in these projects. We adhere to the best practices and rules stated below to ensure the safe storage and management of credentials and sensitive information.
-
Use environment variables to store sensitive information such as API keys, passwords, and tokens. This isolates them from the codebase and prevents accidental exposure.
-
Sensitive data should be stored in configuration files. These files, however, should not be tracked by version control.
-
Encrypt sensitive data before storing it if possible. Even if the data is accessed, this adds an extra layer of security.
-
If environment variables aren't possible, create a separate configuration file to prevent this file from being committed, add it to your '.gitignore' file.
-
If configuration files must be included in version control, use placeholders or dummy values instead of genuine sensitive data. Provide directions for populating these files with the required information.
To ensure that sensitive material does not end up in version control by accident, we utilize a '.gitignore' file to exclude files containing sensitive information. Configuration files, secret files, and environment-specific files are examples of such files.
To keep sensitive data secure, we strongly advise examining and maintaining your project's '.gitignore' file.