Add tooling and doc for our first usecase

This commit is contained in:
Colin Goutte 2023-08-25 11:10:12 +02:00
parent 49b142e306
commit 641ded12ad
2 changed files with 29 additions and 0 deletions

View File

@ -58,4 +58,21 @@ Functional testing requires *geckodriver* and *selenium* which is a driver to pr
Toolings
--------
Few useful git aliases may be found in `gitalias.gitconfig` to use them add the include directive to your .git/config file
.. code-block::
[include]
path = ../gitaliases.gitconfig
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
<snip>

12
gitaliases.gitconfig Normal file
View File

@ -0,0 +1,12 @@
# Add this to your .git/config file
#[include]
# path = ../gitaliases.gitconfig
[alias]
um = "!git checkout main && git pull && git checkout - "
resync = "! git um && git rebase -"
out-of-sync = branch --no-merged main --no-contains main # Thee branch derive from an old main
open = branch --no-merged main --contains main
integ = "! git resync && git checkout main && git merge --no-ff - "
icm = "! echo 'ok'"