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

Add --upstream option to branch #8476

Open
timsehn opened this issue Oct 22, 2024 · 0 comments
Open

Add --upstream option to branch #8476

timsehn opened this issue Oct 22, 2024 · 0 comments
Labels

Comments

@timsehn
Copy link
Contributor

timsehn commented Oct 22, 2024

The recommended way in Git to add a remote tracking branch to a checked out branch is:

$ git branch --upstream origin/branch

This option does not exist in Dolt. You can only set a tracking branch when you create a branch.

$ dolt branch --upstream origin/b1   
NAME
	dolt branch - List, create, or delete branches

SYNOPSIS
...
...
error: unknown option `upstream'

This also doesn't work:

$ dolt branch --track origin/b1
* b1                                            	
  main  
@timsehn timsehn added enhancement New feature or request cli version control labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant