已关闭

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

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, 软件开发, 系统管理

查看更多: 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

关于此雇主:
( 6个评论 ) Jodhpur, India

项目ID: #16736774

6 威客就此工作平均出价 $162

abdofarag2

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

$250 USD 在0天内
(4条评论)
4.0
aussiecloudguru

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

$277 USD 在3天内
(3条评论)
2.7
Dyumnin

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

$155 USD 在3天内
(2条评论)
1.5
sadmins

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天内
(3条评论)
1.3
$111 USD 在3天内
(0条评论)
0.0
Amrsfmtn

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天内
(0条评论)
0.0