-
-
Notifications
You must be signed in to change notification settings - Fork 381
chore(Fork): add Pull All command #7650
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -30,6 +30,20 @@ | |||||||||
| ], | ||||||||||
| "target" : "ref" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "action" : { | ||||||||||
| "script" : "git stash save --message \"Pull autostash\"\ngit pull --rebase=true origin --prune\ngit pull --rebase=true gitee.com\ngit pull --rebase=true gitcode.com", | ||||||||||
|
||||||||||
| "script" : "git stash save --message \"Pull autostash\"\ngit pull --rebase=true origin --prune\ngit pull --rebase=true gitee.com\ngit pull --rebase=true gitcode.com", | |
| "script" : "git pull --rebase --autostash origin --prune\ngit pull --rebase --autostash gitee.com\ngit pull --rebase --autostash gitcode.com", |
Copilot
AI
Feb 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git stash save --message ... is deprecated in favor of git stash push -m ... in modern Git. Switching to stash push improves forward compatibility and matches current Git CLI guidance.
| "script" : "git stash save --message \"Pull autostash\"\ngit pull --rebase=true origin --prune\ngit pull --rebase=true gitee.com\ngit pull --rebase=true gitcode.com", | |
| "script" : "git stash push -m \"Pull autostash\"\ngit pull --rebase=true origin --prune\ngit pull --rebase=true gitee.com\ngit pull --rebase=true gitcode.com", |
Copilot
AI
Feb 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR metadata links fixes #7649, but the referenced issue is about adding a “Push All” command while this change adds “Pull All”. If #7649 is already satisfied by the existing “Push All”, this PR may be closing the wrong issue; please confirm the correct issue link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git pull --rebase=true origin --prunepasses--pruneas a refspec (because it comes after the remote), so pruning won’t run and the command may fail. Move--prunebefore the remote name (e.g.,git pull --rebase --prune origin).