Wednesday 15 February 2012

Is there in git "git pull --dry-run" option? -


Is there something like git pull - draw-run to see how the stuff Will it be spoiled before my work tree?

I am now:

  git fetch orig & amp; Amp; GIT merge - no-comma-no-ff   

I did not see anything in the man page for 'Page-pull'.

EDIT:

To clarify, I need it in the ant script to confirm whether or not is git pulling , Then exit from the exit, do the deploy defective and leave the DIR tree in the same way that pull the git first.

I always rely on the underlying capabilities of GIT. If a merge is unsuccessful then I will go back.

To estimate how merge can be done, you can start as you did:

  $ git fetch original branch # fetches changes $ Git diff HEAD Do not merge your current head for the merged merger of ..origin / branch # ... personal decision of potential merge triples ... merge with $ git merge original / branch # commitment received   

If things have not been planned, look at your reflag and enter your desired Reset Back to Life

  $ git reflog ... ABC 987 Head @ {0}: Merge Activity b58aae8 HEAD @ {1}: Fetching / Original Arm 8f3a362 HEAD @ {2}: Fetch The activity before ... $ git reset - hard head {2}    

No comments:

Post a Comment