Updated on 2023-05-06 GMT+08:00

Pushing a Repository

  1. Configure the username, email address, and signature key (PPK file).
  2. Right-click in the blank area and choose TortoiseGit > Settings.
  3. Select Git, and set Name and Email.

    If the push fails, run the following script to locate the fault and send the git.log file generated to the technical support:

    #!/bin/bash 
    # this script will collect some logs for Coding.net  
    ### how to use ### 
    # first enter your git repository
    # 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