git use pattern questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I would like to publish a repository on say github but I would still
like to hide sensitive information from a config file which
nevertheless needs to be part of the repo. If it was possible to
publish a single branch then I'd make one especially for github and
publish the config file with something like "your password here"...

Would you know what's the best pattern to publish a repository but
still hide sensitive information such as values of passwords, mysq
port etc..?

Also I have a developpement version of the site and a production
version on another server. Is making a branch for the production
version a good choice? I used to simply rsync the changes from dev to
prod and make the changes in the config file for the production
version. This makes sense because in order for the site to run a mysql
dump and some other data not part of the repo needs to be synced.

Thank you,

Alex
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]