1

My remote git server does not allow me to push anything without having a commit message. Now i want to convert my perforce code to git using git p4 and push the converted code as a new branch to my remote git server. When i do git push origin mybranch it is failing as there is not commit that i did using git commit -a or git commit -m . How i can achieve this ?

1 Answer 1

0

You could add (or update) a README file in your new branch, then commit with a comment. At that point, you should be able to push the new branch. Providing some detail in the README about the origin of the code (in P4) may be useful if future pulls/pushes/merges to/from the external repo are needed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .