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

进行中 已发布的 6 年前 货到付款
进行中 货到付款

Hello,

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.

Regards

Bash Scripting Git 软件开发 系统管理

项目ID: #16736776

关于项目

2个方案 远程项目 活跃的6 年前

授予:

nirmaljeetverma

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 更多

$155 USD 在3天内
(26条评论)
4.3