git config before push #41
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dachary:wip-config"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
These commands are executed only in CI environment as part of init code for integration tests environments or when executed with
CI=true
(woodpecker and GitHub actions do it) and is unrelated to https://gitea.hostea.org/Hostea/dashboard/issues/26But local configs are cleaner.
CI build logs:
The init script creates tmp directories, writes to a dummy file to have something to push, commits and pushes to the fleet repository. This way, dashboard will clone a non-empty repository, closely resembling the actual situation.
The changes this PR contains try to set local config for a Git repository without
cd
-ing into the repository directory. The global configuration is a cheap hack to notcd
into it :Dabec96eec3
tofc056b20b0
fc056b20b0
tod0416a9533
d0416a9533
to9f40a5c1ac
9f40a5c1ac
to412c4a14ed
the --global in the CI is the reason why it does not fail as it should. But I'm working on a fix and will explain.
Pull request closed