I am unable to know why is there a *
beside my git branch name in Visual studio code. Is there something I should be wary about?
* indicates you have unstaged changes (not been added yet) + indicates you have staged changes (added, but not commited) ! indicates unmerged conflicts.
< Visual Basic. A branch is a point at which your program must make a choice. With these data structures, it is now possible to make programs that can have multiple outcomes. You may be familiar with the first type from Algebra, an If-Then statement, or If P then Q.
Access the "Source Control" tab on the left side of VSCode. Click on the "three small dots" next to the refresh button. Click on the "Checkout to..." option. Choose the branch you want to switch to.
Visual Studio displays the current branch in the selector at the top of the Git Changes window. The current branch is also available in the status bar on the bottom-right corner of the Visual Studio IDE.
This can also mean that you have a git stash. You can get this sometimes when you make changes on a branch and then switch branches. A lot of ide's don't carry the changes over so they save them to that branch. To get the changes back you can run
git stash pop
or to just delete them you can do
git stash drop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With