
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
npm i -g multipull
Add a .multipullrc
file in your home directory containing a JSON with the following keys :
root
: the absolute path where your repositories are locatedrepos
: an array of repositories names (will use every folder that have a .git
folder in root
if not specified)branches
: the default branch in the repository if not main
Example:
{
"root": "/your/workspace/root/path",
"collaborators": "your,comma,separated,list,of,collaborators",
"repos": ["an", "array", "of", "repositories", "in", "root"],
"branches": {
"my-repo1": "my-default-branch"
},
"issueTracker": {
"issueIdPattern": "[0-9]{9}",
"urlPrefix": "https://www.pivotaltracker.com/story/show/"
}
}
Every command will always display a table summarizing the status at the end.
Any cell that is equal to the default will contain an empty value, and any line that only contains default values will be omitted.
Parameter | Description |
---|---|
Repo | Repository's name |
Current | Current branch (if different from default one) |
Tracking | Tracking branch (if different from default one) |
Pushed | When using multipush : displays a confirmation or an reason for not doing so |
Merged | When using multimerge : displays a confirmation or an reason for not doing so |
Pull Request | When using multistatus --pr : displays the link of an existing pull request on the current branch |
Mergeable | Indicate GitHub's mergeable status (i.e no conflict) |
Build | When using multistatus --ci : displays the build status on this branch (based on GitHub checks) |
Reviews | Indicate the number of reviews and comment on GitHub's pull request |
S | Number of stashes |
?? | Number of untracked files |
M | Number of modified files |
D | Number of deleted files |
A | Number of added files |
C | Number of copied files |
Files | When using multipull indicate the number of updated files |
Changes | When using multipull indicate the number of changed lines |
Insertions | When using multipull indicate the number of inserted lines |
Deletions | When using multipull indicate the number of deleted lines |
Error | Error message |
E | Elapsed time |
Note the Files
section may contain:
(n)
suffix is added when native files are updated(p)
suffix is added when a package.json
file is updatedCommand | Description |
---|---|
multicheckout | git checkout <branch> |
multiexec | run command in each repos |
multimerge | merge pull request |
multipr | create pull request |
multipull | pull from remote branch |
multipush | push to remote branch |
multirebase | rebase from remote branch |
multistatus | summarize repositories' status |
By default, multicheckout [branch]
will run
git checkout branch
if branch
is providedgit checkout defaultRepositoryBranch
otherwise (where defaultRepositoryBranch
is provided in the configuration file)in all the repositories specified in the configuration.
Notes:
multiexec --exec=<command>
will run the same command in each repository
When on a branch different from the default branch, multimerge
will merge any existing pull-request found related to this branch.
multipr
will attempt to create a pull request in all the repositories that are on the same branch as the current repository.
Note that it will abort if the current branch is the default one (eg. main
).
reviewers
A comma separated list of GitHub user ids can be provided to be added at the list of reviewers
eg.: multipr --reviewers=John,Jack
Note: a GitHub team
can be assigned by prefixing its slug
with team/
:
eg.: multipr --reviewers=team/justice-league
collaborators
A comma separated list of GitHub user ids can be provided to be added at the list of collaborators. When creating a pull request, two ids will be picked randomly and added at the list of reviewers.
eg.: multipr --collaborators=John,Jack
m
Use this parameter to edit the pull request description
eg.: multipr --m
approve
Submit an APPROVE
review on the current pull request.
Execute git pull
all repositories.
eg. multipull
Notes:
Execute git push
in all repositories.
eg. multipush
force
Execute git push --force
in all repositories.
eg. multipush --force
Notes:
git
with --set-upstream origin
if the current tracking
branch is not set.Execute git rebase <orgin branch>
in all repositories where the branch is different from the default one.
Displays the status of the current repositories
eg. multistatus
--pr
)On the repositories that are on a branch different from the default branch, and have an open Github pull request, multistatus --pr
will output:
--pr --list
)On the repositories that are on a branch different from the default branch, and have an open Github pull request, multistatus --pr --list
will output the urls of each PRs.
--pr --open
)On the repositories that are on a branch different from the default branch, and have an open Github pull request, multistatus --pr --open
will open the PRs URLs in the default system browser.
--ci
)On the repositories that are on a branch different from the default branch, multistatus --ci
will output Github's "checks" status
FAQs
Pull multiple git repositories
The npm package multipull receives a total of 0 weekly downloads. As such, multipull popularity was classified as not popular.
We found that multipull demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.