-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove all current groups/repos #213
Comments
By 'context', do you mean the one in Or maybe you just want to start brand new? In the latter case, you can delete two files in |
By context I mean working workspace rather than gita's context. I will use workspace instead of context to avoid terminology overlapping. I could have several tens or hundred of workspaces with a few potential groups and repos. In this scenarios, always having them all in gita, would be a hard thing to manage. Think of only running an The proposed conceptual workflow is that when moving to a new workspace directory, that contains several groups and projects it is desirable to start with a clean gita by running a To achieve this, always removing the files manually when changing workspace would be tedious. |
From your description, |
The inner working of When you run For groups not added from
Say you manually added those 3 repos into a group, then you can also assign the enclosing folder as the group path. |
i was thinking more in the line of |
I know about auto context. however when later one would want to do a push on all repos of the workspace with gita, without changing directory to root workspace, it cannot run Later edit: |
I started working on it here: #214 Later edit: |
This is the same as what I suggest. If you run
It sounds like a bug. Can you give more details? What is the procedure to trigger the problem? Suppose you are done working on one workspace (from your description, it seems to be the same as 'context' in gita, i.e., a group). I guess at the point you want to push the changes for that group, then there are two options
In this workflow, it seems
I deliberately disallowed that for |
when changing context would be great to be able to get rid of previously created gita repos/groups. one approach could be
gita rm *
. another one could begita clear
.in the new context, one could simply run
gita add -a .
to automatically create groups and add repos. this will keep context small and easy to manageThe text was updated successfully, but these errors were encountered: