librelist archives

« back to archive

Best way to share a Nesta theme?

Best way to share a Nesta theme?

From:
Tommy Sundström
Date:
2013-05-10 @ 13:21
I have made a Nesta theme, an adaption of [HTML5 Boilerplate](
http://html5boilerplate.com/). Now I would like to share it. But I'm new to
git and would need some pointers on how to do this best.

Right now my theme lives in the `themes` folder, so it’s a part of the git
repository for the entire site. What is the best way to add a git
repository just for the theme? Just start one in the folder?

I understand there is something called submodule, but from the little I've
read about it it seams more suited for when you want to include an external
resource.

Or am I better off just making a copy elsewhere in the filesystem and
making a git of that?

HTML 5 Boilerplate and thus my theme is not meant to be used as is, it's a
ground to develop other themes upon. Will this effect my choice of git
tactics?

/Tommy

Re: [nesta] Best way to share a Nesta theme?

From:
Tommy Palmer
Date:
2013-05-10 @ 13:49
Copy it out and make that folder it's own git repo, then make a new public
repo on Github and push it there.

git init
git add .
git commit -m "first commit"

Then follow the instructions on Github.  

--  
Tommy Palmer
http://tommyp.org
@tommypalm


On Friday, 10 May 2013 at 14:21, Tommy Sundström wrote:

> I have made a Nesta theme, an adaption of [HTML5 
Boilerplate](http://html5boilerplate.com/). Now I would like to share it. 
But I'm new to git and would need some pointers on how to do this best.
>  
> Right now my theme lives in the `themes` folder, so it’s a part of the 
git repository for the entire site. What is the best way to add a git 
repository just for the theme? Just start one in the folder?   
>  
> I understand there is something called submodule, but from the little 
I've read about it it seams more suited for when you want to include an 
external resource.  
>  
> Or am I better off just making a copy elsewhere in the filesystem and 
making a git of that?  
>  
> HTML 5 Boilerplate and thus my theme is not meant to be used as is, it's
a ground to develop other themes upon. Will this effect my choice of git 
tactics?
>  
> /Tommy