Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Working with Git



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

Back to the top