Welcome Guest, Not a member yet? Register   Sign In
Version Control
#11

[eluser]n0xie[/eluser]
[quote author="Eric Barnes" date="1294997252"][quote author="atw" date="1294983772"]@Eric Barnes: How do you, personally, stop your passwords going under VC? Do you tell the VC app to ignore .../config/database.php (via .hgignore et al)?[/quote]

Depends on the site. But here is how I normally do it.

I create a database.orig.php and then add database.php to the ignore list. This way when you create database.php it will never be committed.[/quote]
We use the same method. We rename config.php to config.default.php and database.php to database.default.php and then add conig.php and database.php to .gitignore.


Messages In This Thread
Version Control - by El Forum - 01-06-2011, 01:42 PM
Version Control - by El Forum - 01-06-2011, 02:20 PM
Version Control - by El Forum - 01-06-2011, 03:48 PM
Version Control - by El Forum - 01-07-2011, 10:28 AM
Version Control - by El Forum - 01-07-2011, 01:49 PM
Version Control - by El Forum - 01-12-2011, 11:27 AM
Version Control - by El Forum - 01-12-2011, 12:21 PM
Version Control - by El Forum - 01-12-2011, 02:39 PM
Version Control - by El Forum - 01-13-2011, 05:42 PM
Version Control - by El Forum - 01-13-2011, 09:27 PM
Version Control - by El Forum - 01-14-2011, 06:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB