Monday, February 24, 2014
Under Will, after git clone, git checkout a version of the source code, how to confirm the check is successful, and the code for the corresponding local version?
Initial use git, do not understand.
After I git checkout, look no change in the local paper, the operation is not much ah?
For example: git checkout tag_name, the following tips have switch to new branch, but I do update local codes without any change in the operation is not a problem ah?
Thank you!
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Landlord operation is no problem, it should be your current branch and after you execute git checkout tag_name, this same branch and tag_name branch code, so the code will not be changed.
If you then change it at this time one of your files, and then add and cimmit, you then run the git checkout a branch, then the code was restored.
Reply:
gitk look version of the tree
No comments:
Post a Comment