BASE is the revision you obtained from the repository. HEAD is the latest revision in the repository. If someone committed a change after you obtained your code from the repository, your BASE is different from the HEAD. You can do a "Update to HEAD" to make your code the same as the HEAD which is the latest revision.
If you want to see the changes you have made after you obtained your code last time, you perform "diff to BASE". If you would like to know the difference between your local code and the latest revision in the repository, you perform "diff to HEAD" or "diff to repository". After you committed your changes successfully, both the BASE and HEAD are now the same as what you have just committed.
The working copy is the local code you obtained from the repository for development. If no modification is made, it is the same as the BASE. After local changes are committed, it is the same as the HEAD. If it is neither the same as the BASE nor the same as the HEAD, a merge is needed before commit.
--------------------------------------------------------------------------------------------------------------
If you have ever asked yourself these questions, this is the book for you. What is the meaning of life? Why do people suffer? What is in control of my life? Why is life the way it is? How can I stop suffering and be happy? How can I have a successful life? How can I have a life I like to have? How can I be the person I like to be? How can I be wiser and smarter? How can I have good and harmonious relations with others? Why do people meditate to achieve enlightenment? What is the true meaning of spiritual practice? Why all beings are one? Read the book free here.
If you want to see the changes you have made after you obtained your code last time, you perform "diff to BASE". If you would like to know the difference between your local code and the latest revision in the repository, you perform "diff to HEAD" or "diff to repository". After you committed your changes successfully, both the BASE and HEAD are now the same as what you have just committed.
The working copy is the local code you obtained from the repository for development. If no modification is made, it is the same as the BASE. After local changes are committed, it is the same as the HEAD. If it is neither the same as the BASE nor the same as the HEAD, a merge is needed before commit.
--------------------------------------------------------------------------------------------------------------
If you have ever asked yourself these questions, this is the book for you. What is the meaning of life? Why do people suffer? What is in control of my life? Why is life the way it is? How can I stop suffering and be happy? How can I have a successful life? How can I have a life I like to have? How can I be the person I like to be? How can I be wiser and smarter? How can I have good and harmonious relations with others? Why do people meditate to achieve enlightenment? What is the true meaning of spiritual practice? Why all beings are one? Read the book free here.
No comments:
Post a Comment