我在本地创建了一个 git push
钩子,该钩子位于我的项目目录的.git / hooks中。我正在使用bitbucket作为我的远程仓库。现在,如何将这个预接收挂钩带到远程仓库中。
因为,
{
:medical_address => [
{
:address_1 => nil,
:city => nil,
:state => nil,
:zip5 => nil,
:zip9 => nil
}
],
:pharmacy_address => [
{
:address_1 => nil,
:city => nil,
:state => nil,
:zip5 => nil,
:zip9 => nil
}
],
:address => [],
:member_phone => "8000000000",
:provider_phone => nil,
:phone => [
"800-000-0000",
"8000000000",
"800-000-0000",
"8000000000",
"800-624-5060",
"8006245060",
"804-673-1678",
"8046731678",
"888-258-3432",
"8882583432",
"800-000-0000",
"8000000000",
"800-000-0000",
"8000000000",
"800-000-0000",
"8000000000",
"800-624-5060",
"8006245060",
"804-673-1678",
"8046731678",
"888-258-3432",
"8882583432"
],
:website => [
"www.fopblue.org",
"www.fepblue.org",
"www.fepblue.org",
"www.fopblue.org"
]
}
不会推送.git目录。
而且我无法在远程仓库(bitbucket)中创建.git目录。
我该怎么做才能在服务器端设置预接收挂钩?