Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MultiRepo management #778

yindf started this conversation in Ideas
Dec 3, 2024 · 1 comments · 5 replies
Discussion options

In our project, we have many repositories, and using tabs to switch between them is not as efficient as expected. Therefore, a tree view was added to show the repository hierarchy and state, which is called a repo group like this:
image

how about to add function like this?
pls take a look at Rider's git tools, when multirepo management is needed, it's almost the best choose.

You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

  1. SourceGit supports group repositories in welcome page
    image
  2. SourceGit supports Workspace. You can create multiple workspaces, the SourceGit can remember the repositories you have opened in that workspace. It is the fastest way to switch between multiple repos.
    image
You must be logged in to vote
5 replies
Comment options

Thank you for your quick response!

Of course, I know that feature. I have used Fork for years, but when we have more than 10 repositories, the tabs become too small to show the repository names clearly.
image

It's difficult to manage a repository without a clear hierarchy, especially as our repository is expected to grow to about 40 repositories. For our scenario, it is important to have:

A button to pull all repositories together.
A clear display of the hierarchy.
A clear indication of the state of each repository.
The ability to show changes across all repositories, stage, and commit them together.
The ability to push the commit to the remote repository together.

All these functions have been implemented in my fork, and we have been using it for a while, which has helped a lot. If you consider adding this kind of functionality, I can clean up my code and make a pull request.

Comment options

By the way, in the tab, the fork shows a dot to indicate changes in the repository, but SourceGit has lost this ability.

Comment options

By the way, in the tab, the fork shows a dot to indicate changes in the repository, but SourceGit has lost this ability.

I do not really like this design. The local changes is NOT like file changes in common text editors, which will remind user that something has not been saved. But for local changes, what is the same thing as Has not been saved as files? Or if user want to close this app directly, should we prompt them with You can some local changes that has not been committed or pushed?

In another word, when there are some local changes, what we want user to do?

Comment options

image // We use this to show that the repository has 2 local changes and is up to date
image // 4 commits behind, and has 3 local changes

However, if these are added to the tab, it will make the tab too long.

Comment options

I realize that a dot alone is not enough, so we add other indicators to show the status of the repository. This is clearer than using just a dot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /