-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Right now we have a pretty messy situation where we have mgit bootstrap, mgit update, mgit co. The first two are quite similar, but none actually follows git pull and git fetch.
The initial idea was to follow Lerna's naming. But after a time we see that mgit should follow git's naming. Ideally, pretty much 1:1.
So, it could look like:
mgit pull– does whatgit pulldoes + clones missing reposmgit co– checks out to branches listed inmgit.jsonmgit co <branch>– checks out all repos to the given branchmgit co -b <branch>– creates new branches (in all repos in which you have changes?)mgit fetch– does whatgit fetchdies (+ clones missing repos?)mgit push– does whatgit pushdoesmgit commit <params...>– does whatgit commitdoesmgit save --branches– saves current configuration of branches tomgit.jsonmgit save --hashes– saves hashes tomgit.jsonmgit st– like todaymgit diff– like todaymgit exec– like todaymgit merge– to simplify closing multi-repo PRs
However, what we need to understand is whether these commands do match our workflow. I mean here the old mgit update which was actually a sum of the new mgit co && mgit pull. Are we ok with the fact that now you'll have to think more about what branches you're on and that mgit pull is not all if you were on some completely different setup previously?
adelura and jodator