Is it possible just to push pull from local folder without git? #126
-
|
Is it possible just to push pull from local folder without git? I need to push/pull the data directory to local directory not git. Is this currently possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Currently, no. We use remote git extensively for it's versioning system. By local folder, do you mean a local git repo or a folder outside of version control? |
Beta Was this translation helpful? Give feedback.
-
|
ZabbixCI relies on the pull/push and diff functions of git to determine changes. However it does not necessarily require a "remote" remote. As a remote can also be a local repository, the following config could be used. config.yaml remote: "/local/path/to/folder"On this path, a bare repository needs to be created: mkdir -p /local/path/to/folder
cd /local/path/to/folder
git init --bareDo keep in mind that this bare local repository follows a different folder structure compared to normal repositories ~/remote# ls
HEAD config description hooks info objects refsTo my understanding this should not interfere with ZabbixCI operations, but this use case is not covered by our testing. |
Beta Was this translation helpful? Give feedback.
ZabbixCI relies on the pull/push and diff functions of git to determine changes. However it does not necessarily require a "remote" remote. As a remote can also be a local repository, the following config could be used.
config.yaml
On this path, a bare repository needs to be created:
mkdir -p /local/path/to/folder cd /local/path/to/folder git init --bareDo keep in mind that this bare local repository follows a different folder structure compared to normal repositories
To my understanding this should not interfere with ZabbixCI operations, but this use case is not cove…