kocierik / gitpullall Goto Github PK
View Code? Open in Web Editor NEWUpdate all the git repositories
Update all the git repositories
What about a way to update the main branch of all repos?
At the moment the only behavior is to update the current branch of all the repos, it may be interesting to add an option to pull the main/master branch instead.
In my zshrc I have this function that I use to merge new changes of main to my current develop branch:
# update the current branch with changes from main
function forward() {
branch_name=$(git branch --show-current);
git switch main; echo;
git pull; echo;
git switch $branch_name; echo;
git rebase main; echo;
}
I think the rebase/merge should be omitted, a rebase/merge to every repo might seriously break things, but the part of switching to main, pull, and go back to the branch it was on might be useful.
The default behavior might be the current one, and then a flag like -m
or something could activate the main/master pull.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.