Git code management and the problems

libcdio: Existing folder found. Checking for updates...
fatal: unable to access 'https://github.com/ShiftMediaProject/libcdio.git/': Failed to connect to github.com port 443: Timed out


1 version code acquisition history
embodiment a: gitcheckout v3.0
Option II: gitcheckout
                    gittag
 
2 all local modifications, not submitted are returned to the original state
git checkout.
Switch to tag history will be in a state separated from a head pointer, this modification is very dangerous, when switching back to the main line without the merger, before modification submit a basic will be lost, if you need to modify can try git checkout -b branch tag to create a branch based on the specified tag, for example: gitcheckout -b tset v0.1.0 this time will be on the development branch, then be switched to the main line merged
 
 
version management
 
1) scenarios
    are currently had modified the code, submit to the SVN, and then found unreasonable, then manually remove the code, resubmit
2) errors
    led to some of the code is not clear, if there is no current submit the code, you can restore the version, if someone has already submitted the code, the code must be submitted by comparison SVN version of history, rather than several modifications might code.
 
Update code
1) application scenarios
when the release version, be sure that someone else has been compiled by the library is up to date


Guess you like

Origin blog.51cto.com/fengyuzaitu/2425883