更新时间:2023-03-14 GMT+08:00

TortoiseGit客户端Push版本库

  1. 配置用户名、邮箱和签名密钥(PPK文件)。
  2. 在空白处右键,选择TortoiseGit > setting
  3. 选中Git节点,如下图所示,填写用户与邮箱地址。

    如果不能Push,请运行如下脚本进行排查,并将生成的“git.log”发给售后支持:

    #!/bin/bash 
    # this script will collect some logs for Coding.net  
    ### how to use ### 
    # first enter your git reposiztory  
    # then execute this bash, please make sure you have correct rights  
    echo "## git version  ##################" >> git.log 
    git version  >> git.log 
    echo "## ping ##########################" >> git.log 
    ping code*************.com  >> git.log 
    echo "## curl code*************.com ###########" >> git.log 
    curl -v https://code*************.com >> git.log 2>&1 
    echo "## ssh -vT git@code*************.com ##############" >> git.log 
    ssh -vT git@code*************.com >> git.log 2>&1 
    echo "## git pull  ##############" >> git.log 
    GIT_CURL_VERBOSE=1 GIT_TRACE=1 GIT_TRACE_PACKET=1 git pull  >> git.log  2>&1