Comments (4)
Hello @borisghidaglia, can you expand on exactly what is not working as expected? Is the issue that it shows push to origin/dev (when that is not the actual upstream), that pushing will push to another branch besides origin/dev or that origin/dev is being set as the upstream unexpectedly?
Notably, if you create a branch in GitLens, the upstream will be automatically set to the upstream of the branch you created off of - we have a feature request to prompt for this here. So if the issue is that the upstream is being set to main expectedly for you, then the linked feature request should help solve for this.
from vscode-gitlens.
Hello @jkelroy, thanks for your answer :)
Is the issue that it shows push to origin/dev (when that is not the actual upstream) [...]
Yes exactly. It pushed to origin/dev
when I expected it to push to origin/feature/my-feature
, as my current branch was feature/my-feature
.
From the issue you're sharing:
[...] when creating a branch from a remote only branch [...]
Thanks I understand now, it is probably what I did. I tried and indeed the upstream is set to the upstream of the branch I created off of.
But why is this the default behavior?
from vscode-gitlens.
Duplicate of #2778
from vscode-gitlens.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from vscode-gitlens.
Related Issues (20)
- "Copy remote file URL" (github) copies URL with the wrong commit ID
- Add settings to control the font of inline blame
- Extension becomes a CPU hog
- GitLens cannot show file changes from an interactive rebase todo
- Local AI providers HOT 1
- Compare active file with main HOT 2
- Allow toggling `--first-parent` in commit graph
- The graph filter area is not displayed HOT 2
- want to know where the branch is from
- Extension pop-up does not stay open anymore HOT 2
- VS Code hangs with GitLens on Ubuntu 24.04 HOT 1
- Open File on Remote path is wrong
- Commit search shows results from all branches
- HI
- Cannot pull or force push if local branch name differs from remote branch name HOT 7
- Added the ability to refresh the submission record
- Add option for hide all pro functionals HOT 1
- sd
- LaunchPad for Bitbucket.
- Gitlens HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-gitlens.