Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git.pruneOnFetch setting implemented #89249

Merged
merged 1 commit into from Nov 4, 2020
Merged

git.pruneOnFetch setting implemented #89249

merged 1 commit into from Nov 4, 2020

Conversation

LarssonOliver
Copy link
Contributor

This PR fixes #86813

Wanted to redo the PR so here goes.

Usage:

{
    "git.pruneOnFetch": true
}

Setting is false by default.

This would add the --prune flag to all git fetches.

@joaomoreno joaomoreno added the git GIT issues label Jan 27, 2020
@mathewcathey
Copy link

@mathewcathey
Copy link

Yes

@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno added this to the November 2020 milestone Nov 4, 2020
@joaomoreno joaomoreno merged commit 90aa30e into microsoft:master Nov 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
git GIT issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add setting to make Git: Fetch (Prune) default behaviour for Git Fetch And Pull
3 participants