storing to git data files [was Re: Subsurface ans Dropbox]
j.bygdell at gmail.com
Wed May 27 12:35:18 PDT 2015
> On 27 May 2015, at 21:12, Dirk Hohndel <dirk at hohndel.org> wrote:
> On Wed, May 27, 2015 at 09:05:23PM +0200, Joakim Bygdell wrote:
>>> On 27 May 2015, at 19:01, Dirk Hohndel <dirk at hohndel.org> wrote:
>>> On Wed, May 27, 2015 at 09:48:21AM -0700, Dirk Hohndel wrote:
>>>> On Wed, May 27, 2015 at 06:22:32PM +0200, Davide DB wrote:
>>>>> A little OT
>>>>> What is the git integration that sometimes people here talk about?
>>>>> How it (should) works exactly?
>>>> You can store your dive data locally into a git repository.
>>>> Assume you have an existing directory c:\mydives
>>>> If you then tell Subsurface to store your dive data as
>>>> it will create a git repository in that folder that holds your dives.
>>> Um, err, it doesn't. I need to figure out when / how that got broken.
>>> Since my default data file is a git repo I apparently never tested this.
>> Trying to save a git repo named “test” I get the following errors.
>> In an empty folder, “ Unable to open git repository ”.
>> If I manually initialise a git repo in the actual folder I get “ Invalid branch name ‘[tes’ ".
> OK, these steps should work
> mkdir -p ~/tmp/gitdives
> cd ~/tmp/gitdives
> git init
> now start Subsurfaec
> Save As "~/tmp/gitdives[jocke]"
> (this assumes latest master / daily from an hour ago)
> If this fails, let me know more
Thats when I get “ Invalid branch name ‘[tes’ “
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the subsurface