GIT hooks custom script to commit and push changed files to some different repository and specific branch during every commit. .. - 19/04/2018 05:03 EDT


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.


Taidot: Bash Scripting, Git, Ohjelmistokehitys, Järjestelmänvalvoja

Näytä lisää: build ubuntu 14.04.05 LTS server , pokerstrategy freelancer freeroll 03.04 2016, images company logos screen 20shot 202016 03 06 20at 2018.59 52 png, git pre push hook, bitbucket git hooks, git server side hooks, commit git hooks to repository, git pre-receive hook example, git post-receive hook example, git post-commit hook example, git hook commit message check, https www freelancer com api messages 0.1 messages 426191268 captura 20de 20pantalla 202016 05 10 2023.03 33 png, https roem ru 19 05 2016 224580 programming contest, freelancer freeroll 2016.04 03 pasword, freelancer desktop app patch 04 05, emprego de freelancer 05 04 16, cto 05 19, senha pokerstrategy freelancer 05 04 2015, pokerstrategy freelancer freeroll password 05.04, css safari specific

Tietoa työnantajasta:
( 6 arvostelua ) Jodhpur, India

Projektin tunnus: #16736776

Myönnetty käyttäjälle:


Hi As per understanding from your brief description, I think I can easily make your wish done with my skills level contact me once and I guarantee it that you will get the perfect solution for your need. As I know Lisää

$155 USD 3 päivässä
(26 Arvostelua)

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

$155 USD 3 päivässä
(0 arvostelua)