From a30a2dad6649768574c69f358dc2dae871a8a759 Mon Sep 17 00:00:00 2001
From: allegroai <>
Date: Thu, 24 Mar 2022 22:07:15 +0200
Subject: [PATCH] Add git personal token docs

---
 clearml_agent/backend_api/config/default/agent.conf | 6 +++++-
 docs/clearml.conf                                   | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/clearml_agent/backend_api/config/default/agent.conf b/clearml_agent/backend_api/config/default/agent.conf
index d7a2aa5..7fa1267 100644
--- a/clearml_agent/backend_api/config/default/agent.conf
+++ b/clearml_agent/backend_api/config/default/agent.conf
@@ -11,7 +11,11 @@
 
     # Set GIT user/pass credentials (if user/pass are set, GIT protocol will be set to https)
     # leave blank for GIT SSH credentials (set force_git_ssh_protocol=true to force SSH protocol)
-    # Notice: GitHub personal token is equivalent to password, you can put it directly into `git_pass`
+    # **Notice**: GitHub personal token is equivalent to password, you can put it directly into `git_pass`
+    # To learn how to generate git token GitHub/Bitbucket/GitLab:
+    # https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
+    # https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
+    # https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
     # git_user: ""
     # git_pass: ""
     # git_host: ""
diff --git a/docs/clearml.conf b/docs/clearml.conf
index ade5f03..f22dffd 100644
--- a/docs/clearml.conf
+++ b/docs/clearml.conf
@@ -15,7 +15,11 @@ api {
 agent {
     # Set GIT user/pass credentials (if user/pass are set, GIT protocol will be set to https)
     # leave blank for GIT SSH credentials (set force_git_ssh_protocol=true to force SSH protocol)
-    # Notice: GitHub personal token is equivalent to password, you can put it directly into `git_pass`
+    # **Notice**: GitHub personal token is equivalent to password, you can put it directly into `git_pass`
+    # To learn how to generate git token GitHub/Bitbucket/GitLab:
+    # https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
+    # https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
+    # https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
     git_user=""
     git_pass=""
     # Limit credentials to a single domain, for example: github.com,