github - GIT cherry-pick giving error -


i trying cherry-pick 1 of commit using sha branch giving error.

say on branch x, running command git cherry-pick as560aad0138.... in terminal.

the error got this;

error: commit as560aad0138.... merge no -m option given. fatal: cherry-pick failed 

the answer right there, in error message.

from man git cherry-pick:

[...] -m parent-number, --mainline parent-number

usually cannot cherry-pick merge because not know side of merge should considered mainline. option specifies parent number (starting 1) of mainline , allows cherry-pick replay change relative specified parent. [...]


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -