Questions
-
When I commit a revision to a branch is their a “commit timestamp” recorded and if so is it ever used and for what? It seems to me like the commit chains/trees would be all you need.
-
If there is a “commit timestamps” who records it, the client (committee) or server (main repository)?
-
When I merge two branches, what is taken into consideration when doing the merge? Basically what rules does the merge play by? Does it write the files with less commits under it? Does it use timestamps to determine which is newer?
Thanks in advance, looking for answers or good resources.
Yes, you will see the time the commit was made when you look at the log. Example:
Git is distributed, there are no clients or servers.
It depends on how you want the merge to work. The documentation will describe all of the possible options for you. The basic merge case just takes all of the commits since the common ancestor.