Welcome to contributing for the research domain in Manipal Information Security Team! Here are a few rules to get you started. Can use Github Desktop as you like.
First, clone the repository to your local machine if you haven't already:
git clone <repository-url>
cd <repository-directory>
Create a new branch for your dedicated work. Use your own name for your branch. Make sure to create a folder in your branch inside the dedicated task folder and push your code in it.
git checkout -b name
Make your changes on your branch. Commit your work regularly with clear and descriptive commit messages:
git add .
git commit -m "Task0 Complete"
Once you have committed your changes, push your branch to the remote repository:
git push origin <branchname>
When your work is ready to be reviewed, create a pull request from your branch to the main branch. Make sure to provide a clear description of the changes and any relevant information for the ManComm to review.
To ensure your branch stays up-to-date with the main branch, regularly merge or rebase changes from the main branch into your feature branch:
git checkout main
git pull origin main
git checkout feature/new-login-page
git merge main
or
git rebase main
If there are any merge conflicts, resolve them carefully. Make sure to test your changes after resolving conflicts to ensure nothing is broken.
Additional Notes
- Always ensure your branch names and commit messages are clear and descriptive.
- Regularly push your work to avoid losing changes and to keep your team updated.
- Review your code thoroughly before creating a pull request.
May the force be with you :)