GithubHelp home page GithubHelp logo

gitpullall's Introduction

Hi there ⚛️


Visits Badge

gitpullall's People

Contributors

kocierik avatar lucat1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dwever

gitpullall's Issues

[FEAT]: Handle branches

Description

What about a way to update the main branch of all repos?

Additional Information

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.