Operations grimoire/Git operations in production containers: Difference between revisions

From Nasqueron Agora
Line 2: Line 2:


# Create a <code>production</code> branch to store any edited code
# Create a <code>production</code> branch to store any edited code
# Document on the grimoire the need to rebase this production branch against upstream relevant branch (generally master)
# Document on the grimoire the need to rebase this production branch against upstream relevant branch (generally <code>master</code>)


== Git configuration ==
== Git configuration ==

Revision as of 17:36, 25 July 2016

When deployed code diverge than upstream

  1. Create a production branch to store any edited code
  2. Document on the grimoire the need to rebase this production branch against upstream relevant branch (generally master)

Git configuration

If you need to quickly use Git in production, use the following commit references if you use a shared ops account:

$ cat > ~/.gitconfig
[user]
        email = ops-noreply@nasqueron.org
        name = Nasqueron Operations