This is the first time I do this. I imported a git project in eclipse. Then I used the shell to create another branch and checkout to the new branch.
Is refreshing the imported project in Eclipse enough to tell Eclipse that we are working on the new created branch?
thanks
To create a new branch in your repository, right click a shared project and navigate to Team => Switch to => New Branch… from the context menu. Select the branch you want to create a new branch from, hit New branch and enter a name for the new branch. The new branch should appear in the branch selection window.
However, Eclipse Preferences > General > Appearance > Label Decorations > check Git did work. This made current brench visible in package view.
Right-click your project and select Team → Branch to create new branches or to switch between existing branches. You can also switch branches in the History view.
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