DEV Community

DenisC
DenisC

Posted on

Adding New Feature, and Using Git Remote to Manage Pull Request to Repo

This week, I've posted an issue and made a pull request to my classmate's repo to add new feature to support the use of TOML config file. I've also managed to merge pull request from my classmate with git remote.

The new TOML feature is to enable the use of .toml file for configuration, which provide an alternative for user to set the default configuration of the tool. As I hadn't used .toml before, I struggled at first trying to understand the usage of .toml file. After some research on how TOML is used with argument parser in Python, I gained confidence in building the new feature and my pull request to classmate's repo was eventually merged.

On the other side, I've also got an issue from my classmate who planned to add the TOML feature for my repo. After he made the pull request, I used git remote to manage the changes from the forked repo, and pulled the changes to a local branch for testing before I finally merged the changes to the main branch. Throughout the process, I've realized how git remote is a convenient way that allows us to manage changes from forked repo while letting us stay on the same repo on local machine. Now, my tool also support TOML feature!

Overall, I've learnt more about the use of TOML for command line tool, and have become more familiar with working on branches in git through working on repo from other and managing pull request in my repo.

Top comments (0)