Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8923031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:59:59+00:00 2026-06-15T06:59:59+00:00

Do any of you git gurus have a script that will help with folks

  • 0

Do any of you git gurus have a script that will help with folks new to git manage their local and remote-tracking branches. Proponents of distributed version control may scoff at this idea, but I believe it will help ramp people up on git.

I’m looking for a script that will:

  • Create a local branch for every new remote branch (with the same name)
  • Prune remote-tracking branches for remote branches that no longer exist
  • Delete local branches for those pruned remote branches (ask user for confirmation if local branch was ahead of remote)

We use a central git repo that all developers push/pull from/to. So, we want git to function more like SVN (but with better merging capabilities).

Bonus if you can get this to work with Git Extensions from the GUI.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:00:05+00:00Added an answer on June 15, 2026 at 7:00 am

    Implemented as a Git Extensions plugin. https://github.com/gitextensions/gitextensions/pull/1451

    This plugin allows users familiar with SVN to ramp up on Git faster. This plugin will:

    • fetch changes from a remote
    • create local branches for all remote branches not currently tracked
    • delete local branches tied to pruned remote branches
    • reset local branches to match remote branches
    • not affect local-only branches

    A confirmation is displayed for any change to the user’s working directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any tools available that will let me rebase in git style an
Any advice on Git repository organization for starting a new project on JRuby that
In git, is there any (simple) way to modify the index so that only
Is there any way to set up git such that it listens for updates
How can I check if I have any uncommitted changes in my git repository:
I'd read that when renaming files in Git , you should commit any changes,
I have been wanting to use a git command that saves a stash without
Do you know that is there any repo(git, or something else) of the GAE
I have Jenkins job that calls Python script in it's configuration. Script creates few
Assuming I have a text file alex bob matrix will be removed git repo

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.