|
|
|
Re: Project decoration question [message #732215 is a reply to message #732120] |
Tue, 04 October 2011 09:16 |
|
Information about currently used branch isn't stored in EGit it is keep in yours git repository. This is how git works, therefore if you have same local repository imported in many eclipse workspaces switching branch in one of them will cause same action in rest. A solution for this is to have separate git repositories for each workspace.
Also you cannot checkout two branches at a time. Branches works on repository level (as you write) and cannot be reduced to particular resource scope ... but you can reset particular folder. This currently isn't supported by EGit but it is possible to do from command line eg:
git reset v1.0.0.201106071701-r org.eclipse.egit.mylyn-feature/
will reset all file in org.eclipse.egit.mylyn-feature/ to state from version v1.0.0.201106071701-r (of course you can also pass branch name or SHA-1 instead of tag).
|
|
|
Powered by
FUDForum. Page generated in 0.01774 seconds