Thanks for the suggestion Charles.

I tried

git reset --hard features/JAL2446NCList

and got

fatal: ambiguous argument 'features/JAL2446NCList': unknown revision or path 
not in the working tree.

Use '--' to separate paths from revisions


I then tried

git reset --hard -- features/JAL2446NCList

and got

fatal: Cannot do hard reset with paths.


At this stage my nerve failed me, but fortunately I got it work through eGit.


Mungo




[University of Dundee shield logo]<http://uod.ac.uk/sig-home>

Mungo Carstairs
Jalview Computational Scientist

The Barton Group
Division of Computational Biology

School of Life Sciences

University of Dundee, Dundee, Scotland, UK

www.jalview.org<http://www.jalview.org>

www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk>
[email protected]<mailto:[email protected]>



[University of Dundee Facebook]<http://uod.ac.uk/sig-fb> [University of Dundee 
Twitter] <http://uod.ac.uk/sig-tw>  [University of Dundee LinkedIn] 
<http://uod.ac.uk/sig-li>  [University of Dundee YouTube] 
<http://uod.ac.uk/sig-yt>  [University of Dundee Instagram] 
<http://uod.ac.uk/sig-ig>  [University of Dundee Snapchat] 
<http://uod.ac.uk/sig-sc>
We're Scottish University of the Year again!<http://uod.ac.uk/sig-strapline>
The Times / Sunday Times Good University Guide 2016 and 2017
________________________________
From: [email protected] <[email protected]> on 
behalf of Charles Ofoegbu (Staff) <[email protected]>
Sent: 09 June 2017 14:40:42
To: Jalview Development List
Subject: Re: [Jalview-dev] Spike build question

You can use the git reset command:

git checkout <current-spike-branch>
git rest --hard <new-branch-to-set-as-spike>

Cheers,
Charles


Ofoegbu Tochukwu Charles
Jalview Visual Analytics Developer/Scientist
The Barton Group
Division of Computational Biology
School of Life Sciences
University of Dundee, Dundee, Scotland, UK.
Skype: cofoegbu
www.jalview.org<http://www.jalview.org/>
www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk/>​











On 9 Jun 2017, at 14:31, Mungo Carstairs (Staff) 
<[email protected]<mailto:[email protected]>> wrote:

I want to put my NCList branch on to spikes/mungo, but not merge it on.
Can I just delete the local and remote spike branch and then recreate it?
Or is there a better way?

m



[University of Dundee shield logo]<http://uod.ac.uk/sig-home>
Mungo Carstairs
Jalview Computational Scientist
The Barton Group
Division of Computational Biology
School of Life Sciences
University of Dundee, Dundee, Scotland, UK
www.jalview.org<http://www.jalview.org/>
www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk/>
[email protected]<mailto:[email protected]>


[University of Dundee Facebook]<http://uod.ac.uk/sig-fb> [University of Dundee 
Twitter] <http://uod.ac.uk/sig-tw>  [University of Dundee LinkedIn] 
<http://uod.ac.uk/sig-li>  [University of Dundee YouTube] 
<http://uod.ac.uk/sig-yt>  [University of Dundee Instagram] 
<http://uod.ac.uk/sig-ig>  [University of Dundee Snapchat] 
<http://uod.ac.uk/sig-sc>
We're Scottish University of the Year again!<http://uod.ac.uk/sig-strapline>
The Times / Sunday Times Good University Guide 2016 and 2017

The University of Dundee is a registered Scottish Charity, No: 
SC015096_______________________________________________
Jalview-dev mailing list
[email protected]<mailto:[email protected]>
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev


The University of Dundee is a registered Scottish Charity, No: SC015096

The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________
Jalview-dev mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev

Reply via email to