I want to remove the warning when I clone an empty repository with git clone
.
Unlike this question, I want a solution that works for all languages. My computer is in French, and the message is warning: Vous semblez avoir cloné un dépôt vide.
and some of my co-workers have their computer in english.
Is there a more elegant solution to my problem?
Unfortunately, there is no configuration variable or command line option to turn off this warning (see the code in clone.c
).
The options I see are :
git init && git remote add origin <url>