From your LinuxCNC directory

git branch -a

will list all the branches so then you can get the exact branch name to checkout.

Starting in v2.6 we started using simple branch names...

git checkout 2.6

The ~pre tag is for unreleased branches...

JT

On 12/19/19 5:59 PM, Frank Tkalcevic wrote:
I'm trying to get the source for version 2.6.0~pre

I tried.

git checkout tags/v2.6-pre0

but the VERSION file shows 2.5.0~pre

output.

git checkout tags/v2.6.0-pre0
Note: checking out 'tags/v2.6.0-pre0'.

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

   git checkout -b new_branch_name

HEAD is now at 70f2237... Merge branch 'v2.5_branch'

I can find when the change was made in the git log, but how do I find the
right tag or branch.?

git log.

commit 6f3211f6795c3744c088097be00a851f776f67ff

Author: Sebastian Kuzminsky <s...@highlab.com>

Date:   Thu Mar 10 10:11:03 2011 -0700

     master is now the 2.6 branch

diff --git a/VERSION b/VERSION

index 557f94d..171aabc 100644

--- a/VERSION

+++ b/VERSION

@@ -1 +1 @@

-2.5.0~pre

+2.6.0~pre


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to