Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the master branch to clone with git #2634

Open
sekatt opened this issue Apr 21, 2022 · 2 comments
Open

Where is the master branch to clone with git #2634

sekatt opened this issue Apr 21, 2022 · 2 comments

Comments

@sekatt
Copy link

sekatt commented Apr 21, 2022

Please answer me ... Help lol
Would like instead
Tyvm
It s ok
Bye

@sekatt
Copy link
Author

sekatt commented Apr 22, 2022

Please answer me ... Help lol
Would like instead
Tyvm
It s ok
Bye

Likes

@haydonryan
Copy link

I know this is really late, but when you git clone - you get the master branch. if you want to check out a specific version you can do something like this:

$git clone [email protected]:OpenZWave/open-zwave.git

$ git tag --list
Rel-1.0
V1.5
v1.2
v1.3
v1.4
v1.6
$ git checkout v1.6
Note: switching to 'v1.6'.

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 switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 890f24b7 This is Version 1.6

Please close this issue, assuming this answers your quetsion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants