obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

feat: create and delete branches

Open argenos opened this issue 3 years ago • 1 comments

In the hub, we have two types of contributors:

  • Those with write access that can use the hub remote
  • Those without it that must work in their forks

Eventually, people in the latter group will join the first. Sometimes branches on the hub (see my comment in #130) need to be pulled from upstream as well, for people on the 2nd group too. An easy way to configure additional remotes would be really helpful to hub contributors with little git experience.

argenos avatar Nov 01 '21 12:11 argenos

There is already a command to add new remotes and change the url of existing ones. You can't change the remote of a branch with an existing upstream branch, but if you checkout a new branch, a modal should open to select a remote and branch as upstream branch. I think that's what you need. So I think you are more looking for adding new branches?

Vinzent03 avatar Nov 02 '21 06:11 Vinzent03