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

Receive-GitBranch: New command proposal #5

Open
johlju opened this issue Aug 25, 2024 · 1 comment · May be fixed by #6
Open

Receive-GitBranch: New command proposal #5

johlju opened this issue Aug 25, 2024 · 1 comment · May be fixed by #6
Labels
enhancement New feature or request

Comments

@johlju
Copy link
Member

johlju commented Aug 25, 2024

Command proposal

This command should

  1. checkout the specified local branch (or default branch name)
  2. run 'git pull' which will use the default method configured for git pull, or if -Rebase it will fetch upstream branch and rebase the local branch using the upstream branch

Proposed parameters

Parameter Mandatory Data type Description Default value Allowed values
BranchName No String Specifies the local branch name 'main' n/a
UpstreamBranchName No String Specifies the local branch name 'main' n/a
Rebase No [Switch] Specifies that it will fetch upstream branch and rebase the local branch using the fetched upstream branch None n/a

Special considerations or limitations

Having configure git config --global pull.rebase true will make the commands default behavior do a rebase using git pull.

@johlju johlju linked a pull request Aug 25, 2024 that will close this issue
8 tasks
Copy link

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 40 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

@github-actions github-actions bot added the stale label Sep 25, 2024
@johlju johlju added enhancement New feature or request and removed stale labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant