Home > Backend Development > Python Tutorial > Git remote branches

Git remote branches

DDD
Release: 2024-10-05 08:09:02
Original
973 people have browsed it

Git remote branches

This week we had to add a feature to another person's repository. To be specific, we were required to add a default configuration TOML file inside of user's $HOME folder, that contains default parameters for a CLI tool. I have contributed to readMeMaker repository:
https://github.com/jadorotan/readMeMaker.git

Jadorotan's code was located all in one file, so it was pretty simple to work with it. I just had to install a library called tomli and add a function which reads default configuration file, if it is provided. All the changes were inside of approximately 10 lines of code.

I have switched to wsl completely for my development and work. I've had problems with interacting with Debian shell. To be exact, I had troubles managing user permissions and for some reason in the commit history of Jadorotan's pull request you can see how the user who committed is not SychAndrii, but root user, which is my Debian user.

Thanks to professor Humphrey's lectures, I have completely understood what branches are - just names for commits that move forward over time. I had no troubles switching between remote and local branches and merging changes from feature branch to main branch.

Having completed this lab, I have learned about how to manage many git remotes (not just origin).

The above is the detailed content of Git remote branches. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template