Operations grimoire/Git operations in production containers: Difference between revisions
From Nasqueron Agora
Line 8: | Line 8: | ||
If you need to quickly use Git in production, use the following commit references if you use a shared ops account: | If you need to quickly use Git in production, use the following commit references if you use a shared ops account: | ||
< | <syntaxhighlight lang="console"> | ||
$ cat > ~/.gitconfig | $ cat > ~/.gitconfig | ||
[user] | [user] | ||
email = ops-noreply@nasqueron.org | email = ops-noreply@nasqueron.org | ||
name = Nasqueron Operations | name = Nasqueron Operations | ||
</ | </syntaxhighlight> |
Revision as of 17:36, 25 July 2016
When deployed code diverge than upstream
- Create a
production
branch to store any edited code - 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