You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Git: Push -> choose remote origin -> choose branch
I see existing branches in format:
origin/new
origin/main
I'm working in local branch "another_branch"
My intention is to create new branch on remote origin with the same name
Tried to type "another_branch", "origin/another_branch", "origin another_branch", "origin@another_branch"
All failed to push
It says "Select or create the new branch by typing its name and selecting it", so there should be a possibility to create new remote branch while pushing. I just cant figure out the way I should specify it.
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
Uncaught (in promise) Error: Pushing to https://xxx/temporary.git
error: src refspec another_branch does not match any
error: failed to push some refs to 'https://xxx/temporary.git'
at Object.action (plugin:obsidian-git:29441:25)
at PluginStore.exec (plugin:obsidian-git:29466:25)
at eval (plugin:obsidian-git:26971:43)
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (plugin:obsidian-git:26969:16)
at GitExecutorChain.eval (plugin:obsidian-git:26953:44)
at Generator.next (<anonymous>)
at fulfilled (plugin:obsidian-git:25798:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Steps to reproduce
1.Clone existing repository via git
2. Open folder as Obsidian vault
3. Push changes to new branch
Expected Behavior
Git: Push -> Choose "origin" -> enter name for a new branch
Addition context
No response
Operating system
Windows
Installation Method
None
Plugin version
2.24.1
The text was updated successfully, but these errors were encountered:
Pushing from main to remote branch main works correctly. I think problem is that I cant set upstream branch for the new branch, because it doesnt exist on remote yet
Describe the bug
Running Git: Push -> choose remote origin -> choose branch
I see existing branches in format:
origin/new
origin/main
I'm working in local branch "another_branch"
My intention is to create new branch on remote origin with the same name
Tried to type "another_branch", "origin/another_branch", "origin another_branch", "origin@another_branch"
![1](https://private-user-images.githubusercontent.com/115431222/332785962-8c3dd580-b224-4338-b6d4-0da2f6d77e7f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1Y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jQwNzA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNlQwNzE2MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00NmQyOWMxMmZmNmM4NjE3YTZhYzBhODBhNTJlOGVhNjdlMDE0OTg0ZWZkMjdkOGRkZGVhODIyYWE2MjllNWNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.myoP_rmqBn-lfYne_vPl_m6CbX1tFou718uXAccp-t8)
All failed to push
It says "Select or create the new branch by typing its name and selecting it", so there should be a possibility to create new remote branch while pushing. I just cant figure out the way I should specify it.
Relevant errors (if available) from notifications or console (
CTRL+SHIFT+I
)Steps to reproduce
1.Clone existing repository via git
2. Open folder as Obsidian vault
3. Push changes to new branch
Expected Behavior
Git: Push -> Choose "origin" -> enter name for a new branch
Addition context
No response
Operating system
Windows
Installation Method
None
Plugin version
2.24.1
The text was updated successfully, but these errors were encountered: