GIT hooks custom script to commit and push changed files to some different repository and specific branch during every commit. ..


I want to write a git hook in bash script in which following should be achieved:

* Extract the files which are being committed.

* C lone a predefined repository (which is different from the targeted repository for commit) to /tmp location.

* Copy extracted files to checked out repository.

* Detect if there is any conflict. Try to auto resolve the conflict.

* Commit changed files from /tmp/ and push changeset to git server.

I tried to write a small prototype but somehow it seems that directory is always referred from base repository and not from /tmp/ and all added files to /tmp/ are shown as deleted.

I am attaching that file for reference purpose.

There are bunch of tasks to be done as we are improvising our deployment systems and automating it entirely. So selected Freelancer will receive ongoing tasks related to Continuous Integration.


Készségek: Bash Scripting, Git, Szoftver fejlesztés, Rendszergazda

Bővebben: git pre push hook, git post-receive hook deploy, git post-checkout hook, git server side hooks, commit git hooks to repository, git commit-msg hook, git post-receive hook example, git post-commit hook example, script push folder rights files, script push files, php script email changed files, cms custom script, script combine php files, check files different, script whm skeleton files, wrt custom script, bash shell script find move files, script move log files check name, linux example script delete owner files, perl script find identical lines different files

A munkaadóról:
( 6 értékelés ) Jodhpur, India

Projektazonosító: #16736774

6 szabadúszó tett átlagosan $162 árajánlatot erre a munkára


Hello, I'm a Linux\Unix systems engineer, OpenStack Administrator, VMware administrator, also certified Red Hat and VMware. I have good experience in Linux administration, troubleshooting, service installing and mo Több

$250 USD 0 napon belül
(4 vélemény)

Hi there, I would be happy to help, though I'm not sure what you are trying to achieve can be done with a hook - please PM me to discuss further. Why pick me? I pride myself on the quality of work I deliver, comm Több

$277 USD 3 napon belül
(3 vélemény)

Hi, Your requirement looks similar to a post-receive hook's I write to deploy my project on the server. Please Initiate a chat so that we can discuss the details of your existing code/setup and initiate the project Több

$155 USD 3 napon belül
(2 vélemény)

We are interested in GIT hooks custom script we will write this script and perform proper R&D before we even deliver this project. Waiting for you response.

$111 USD 5 napon belül
(3 vélemény)
$111 USD 3 napon belül
(0 vélemény)

Hi, I have more than 14 years of experience in Linux and shell scripting. I should be able to complete this for you pretty soon. Please consider me for your job. Regards, Amro

$66 USD 3 napon belül
(0 vélemény)