git 管理

1.分支比较

git 代码比较:http://192.168.102.73:8081/CICD/cicd/pipeline/test-area/compare/dev-ysscloud3.1-cicd2.1...zhangshujuan 

项目地址 http://192.168.102.73:8081/CICD/cicd/pipeline/test-area/

源地址:dev-ysscloud3.1-cicd2.1

目标分支:zhangshujuan

2.项目的当前分支

http://192.168.102.73:8081/CICD/cicd/pipeline/test-area/create_dir/dev-ysscloud3.2.1-cicd2.3

post请求:

  1. authenticity_token:
    sGkmsIcJpmgjQf1whBPHC78+oLXO1Woiu4JMjFeWIXnOYWqh1KNlftgbTbJB+4IahMt1ukCvBnW3LUqHC187LQ==
  2. dir_name:
    V3.2.0
  3. commit_message:
    Add new directory
  4. branch_name:
    dev-ysscloud3.2.1-cicd2.3
  5. create_merge_request:
    1
  6. original_branch:
    dev-ysscloud3.2.1-cicd2.3

3.列出项目所有分支

http://192.168.102.73:8081/CICD/cicd/pipeline/test-area/refs?sort=updated_desc&ref=dev-ysscloud3.2.1-cicd2.3&search=

                       header

        1. Accept:
          application/json, text/plain, */*
        2. Accept-Encoding:
          gzip, deflate
        3. Accept-Language:
          zh-CN,zh;q=0.9
        4. Connection:
          keep-alive
        5. Cookie:
          sidebar_collapsed=false; remember_user_token=W1s3MV0sIiQyYSQxMCRWbDN3ZWNjc2ZOMWtqd0tvNDI2Uy4uIiwiMTU4Mjk3NDM3Ny43NDYyNiJd--f1613ff13a99aa7ffa53eaee772603c4eab680cf; _gitlab_session=f397d44dd34e5f38d9c6d3df4f30ca3d; diff_view=inline
        6. Host:
          192.168.102.73:8081
        7. If-None-Match:
          W/"ee21549109be3698fc4bd83e6f3665ff"
        8. Referer:
          http://192.168.102.73:8081/CICD/cicd/pipeline/test-area/tree/dev-ysscloud3.2.1-cicd2.3/V3.2.0
        9. User-Agent:
          Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
        10. X-CSRF-Token:
          5RbBBvKSSBLMKg+G+3ME48Ig4kZxtkvzh6CIxVML6DubHo0XoTiLBDdwv0Q+m0Hy+dU3Sf/MJ6SLD47OD8Lybw==
        11. X-Requested-With:
          XMLHttpRequest
      1. Query String Parametersview sourceview URL encoded
        1. sort:
          updated_desc
        2. ref:
          dev-ysscloud3.2.1-cicd2.3
 常见问题:
git SSL certificate problem: unable to get local issuer certificate   https://www.jianshu.com/p/103735801a2e
原文地址:https://www.cnblogs.com/wozhangdale1/p/12434072.html