Joined: 18 May 2008 Posts: 4764 Location: Kingwood, TX
Posted: Fri 15 Feb 2013, 01:54 Post subject:
Fossil basics: creating a local repository
The fossil documentation assumes you already have a repository of some kind set up somewhere.
But what if you just have a directory full of source code?
lets say all of your files are in a folder called myproject
this is how you set up a local repository using a local folder
from the parent directory of myproject
#this sets up your project file
fossil init myproject.FOSSIL
#tells fossil to open that project file
fossil open myproject.FOSSIL
#tell fossil to add the directory myfossil (and its contents) but not "commit" it
fossil add myproject
#this will update the changes so they can be seen in the UI
#p.s. it will open your $EDITOR to edit the comment for the commit
#to verify that it worked you can use the built-in UI
fossil ui myproject.FOSSIL
that is it for now, perhaps someone can chime in on committing changes or hosting on chiselapp.com (its documentation is sparse) _________________ Check out my github repositories. I may eventually get around to updating my blogspot.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum