Reputation: 729
I'd expect this to be explained in the beginner's quick start guide, because almost everyone who starts with fossil will have projects that he wants to start managing with fossil. Yet I could not find an explanation anywhere in the documentation.
(I'm coming from git, which was way too heavy for my needs, but at least creating a new repository in an existing folder was easy ...)
(tried to answer my question but have insufficient reputation. so here it is:)
I think I figured it out myself. Here's what I did, for beginners:
C:\www\fossil
fossil
directoryfossil init projectname
C:\www\projectname
fossil open ../fossil/projectname
fossil add *.*
Upvotes: 4
Views: 1245
Reputation: 79205
Some comments:
fossil new
instead of fossil init
.fossil add .
; this is recursive. fossil does not abide by the old, Microsoft rule that states *.*
means every single file even without extension. fossil add *.*
will merely add all files and directories that contain a dot in their name.fossil commit -m "Initial contents of my project"
Upvotes: 6