Skip to content

git.pruneOnFetch setting implemented#89249

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
LarssonOliver:prune-on-fetch
Nov 4, 2020
Merged

git.pruneOnFetch setting implemented#89249
joaomoreno merged 1 commit intomicrosoft:masterfrom
LarssonOliver:prune-on-fetch

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