Prune all dead branches #1

Closed
MicheleC wants to merge 1 commits from feat/prune-all-dead-branches into master
Owner

Prune from all remotes, not only from origin.

Slavek, since you maintain the scripts, let me know if it is ok to merge.

Prune from all remotes, not only from origin.<br> Slavek, since you maintain the scripts, let me know if it is ok to merge.
MicheleC added the SL/wishlist PR/rfc labels 6 years ago
Owner

It seems that I have found a better solution. We can specify parameters for fetch directly in git pull. Thanks to this, we can ensure fetch for all remote repositories as well as prunes:

git pull --rebase --all --prune

The advantage is that 'git remote prune whatewer' will not be performed separately as it causes a second communication with remote repositories.

It seems that I have found a better solution. We can specify parameters for fetch directly in git pull. Thanks to this, we can ensure fetch for all remote repositories as well as prunes: ``` git pull --rebase --all --prune ``` The advantage is that 'git remote prune whatewer' will not be performed separately as it causes a second communication with remote repositories.
Poster
Owner

Ok, if it save a git operation it is better to go with your solution than mine.

I will close this PR without merging and you can push your change instead.

Ok, if it save a git operation it is better to go with your solution than mine.<br> I will close this PR without merging and you can push your change instead.
MicheleC closed this pull request 6 years ago
Poster
Owner

branch deleted from web interface, since it can't be deleted from PR page

branch deleted from web interface, since it can't be deleted from PR page
MicheleC removed the PR/rfc label 6 years ago
This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/scripts#1
Loading…
There is no content yet.