Cargo: Cargo new should not git init when already in a git repository

Created on 3 Oct 2014  路  1Comment  路  Source: rust-lang/cargo

Sometimes I use cargo new to build a sub-package inside another package (useful for macros for example), but cargo new automatically creates a new git repo even if you are already in a Cargo project with a git repo.

A-git E-easy

Most helpful comment

Yeah, just not doing it is a better default than making you --no-git

>All comments

Yeah, just not doing it is a better default than making you --no-git

Was this page helpful?
0 / 5 - 0 ratings