Git: add, commit and click concurrency -safe?

I have a program that collects information and checks the result on git.

I need to run the program several times, with each call entry in a separate top-level directory, for example

pgm --output=$REPO/a
pgm --output=$REPO/b
pgm --output=$REPO/c

Each call will change state in its output directory, add, commit and click.

I would like to run them at the same time.

pgm --output=$REPO/a &
pgm --output=$REPO/b &
pgm --output=$REPO/c &

Are there any concurrency issues I should be dealing with?

+4
source share
1 answer

Git has no problem doing operations in parallel or in a script.

git , , .

, : - .
:

, git ?

+1

Source: https://habr.com/ru/post/1617521/


All Articles