[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Working with Git (switching to another branch)
|
Thanks Roland! I didn't think it sounded right.
I did that (context menu on one project) and it switched everything in my workspace to the master branch.
Which is just fine.
...Beth
Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
Roland Schulz ---11/03/2011 11:30:51 AM---On Thu, Nov 3, 2011 at 11:00 AM, Beth Tibbitts <tibbitts@xxxxxxxxxx> wrote: > OK a question
![]()
| ![]()
Roland Schulz <roland@xxxxxxx> |
![]()
| ![]()
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx> |
![]()
| ![]()
11/03/2011 11:30 AM |
![]()
| ![]()
Re: [ptp-dev] Working with Git |
![]()
| ![]()
ptp-dev-bounces@xxxxxxxxxxx |
On Thu, Nov 3, 2011 at 11:00 AM, Beth Tibbitts <tibbitts@xxxxxxxxxx> wrote:
OK a question
My initial clone got both master and ptp_5_0 of course. but i was doing it in my ptp_5_0 workspace so i made the default branch 5.0
(I presume most folks would/should use master as the default branch.)
Now i used that clone to import into my 6.0 ws. It gets ptp_5_0 w/o asking what i want. That was the default, so that's OK.
Do I then switch to master like this?
Team - switch to - Other… and choose Remote Tracking > origin/master ?????
No. One should not use a remote tracking branch for working. It should only be used to viewing code/history.
You should switch by:
- Team->Switch To->New Branch
- Source ref: refs/remotes/origin/master
- Branch Name: master
- (Make sure that Rebase is selected - it should be if you set autosetuprebase and that checkout is checked)
Roland
...Beth
Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

