Transfer: GitHub Desktop pulling Tag version code on GitHub
Has been in use GitHub Desktop git graphical management tool, unified version of the framework of the project need to switch to ThinkPHP Tag branch version, as follows,
1, first find the required version of GitHub, the points go
2. Click commits record, look for token numbers
3, determine the version of the content, click Copy to copy token
4cbc0b5e93314446243ebc7d5f005f9c32864737
4, if no local clone of the original project, first to the local copy source project,
5, of course, this time, in the branch can not find the tag, this time you need to use token copy of the switch to the corresponding version
Open terminal
Key in
git checkout 4cbc0b5e93314446243ebc7d5f005f9c32864737
or
git checkout -b 4cbc0b5e93314446243ebc7d5f005f9c32864737
6, I chose to build their own branch of Save the switched version up, click on New branch, entered remember the name, it is recommended to remain the version number, so easy to manage, so complete, attention GitHub Desktop at any time to switch version, Ray area, the best special edition dedicated storage.
git checkout 4cbc0b5e93314446243ebc7d5f005f9c32864737
or
git checkout -b 4cbc0b5e93314446243ebc7d5f005f9c32864737
6, I chose to build their own branch of Save the switched version up, click on New branch, entered remember the name, it is recommended to remain the version number, so easy to manage, so complete, attention GitHub Desktop at any time to switch version, Ray area, the best special edition dedicated storage.