git - Is it possible to fast forward another branch without checking it out? -
In GIT, I have a branch a . I make another branch B where I make some commit, then I a .
I know that I can checkout A and fast forward the latest commitment of B two amendments to copy this operation to work Required: To return to A first and then return the copy of the work to B . If you make a lot of changes on the new b , the operation may be slow.
Is it possible to move any other branch faster without changing the copy of work? (In other words, to move the pointer to A only)
GIT provides commands for this purpose
git update-ref AB Note: This command is less than one of the GIT commands And no one does not provide protection measures to protect yourself from screwing yourself If the BA does not have a fast forward then it will still update A, potentially earning Eligible and subject to garbage collection.
Comments
Post a Comment