On 17 September 2014 20:47, Gareth France <[email protected]> wrote:

>
>  Not helpful for solving the immediate problem I know, but for the
>> future the issue would be easy to solve if you kept a master copy of
>> your source in a version control system such as git.  Then if the site
>> becomes compromised you can just replace it with the correct code.
>> Git is trivially easy to setup and start using.
>>
>> Colin
>>
>>  I have taken a quick peek and it says git-hub is free for public, open
> source projects. I of course require private hosting as I wouldn't want
> people to peek behind my site. So is there a free option for doing this? I
> really don't have a budget for doing this sort of thing.


Gitlab [1] is an open source alternative to Github and has unlimited free
private repositories. It is not as full featured as Github especially in
the team collaboration area but is more than enough for your use case. It
takes 5 minutes to create a repo and the only gotcha is how to generate an
SSH key to let git interact with it, which is explained in their help pages
[2]. If you need more help with git, the git book [3] is available online
for free.

Using a VCS like git takes a bit of practice but once you're used to it, it
is very liberating to know that you always have a golden master and that
you can roll back any changes should you need to.

[1] https://gitlab.com/
[2] https://gitlab.com/help/ssh/ssh.md
[3] http://git-scm.com/book

Bruno
-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to