diff --git a/internal_docs/git.test b/internal_docs/git.test index 164fb32..bc6380c 100644 --- a/internal_docs/git.test +++ b/internal_docs/git.test @@ -2,12 +2,11 @@ Overleaf now only supports Git authentication tokens to access git. See: https://www.overleaf.com/learn/how-to/Git_integration_authentication_tokens The Token expires after one year! -https://www.overleaf.com/user/settings => Git Integration => Token ``` cd asterix:/home/subversion/git/athena/overleaf git remote -v -git remote set-url origin "https://git:${TOKEN}@git.overleaf.com/6287f573ce76551c2c0ed1b3" +git remote set-url origin https://git:@git.overleaf.com/6287f573ce76551c2c0ed1b3 git remote -v git --git-dir=/home/subversion/git/athena/overleaf/.git --work-tree=/home/subversion/git/athena/overleaf pull ``` @@ -27,7 +26,7 @@ crontab -l #https://de.overleaf.com/project/6287f573ce76551c2c0ed1b3 #git clone "https://zumkeller%40mail%2Ede:${PASSWORD}@git.overleaf.com/6287f573ce76551c2c0ed1b3" /home/subversion/git/athena/overleaf #loginmethod before summer 2024 #https://www.overleaf.com/learn/how-to/Git_integration_authentication_tokens#Step-by-step:_How_to_update_the_Git_remote_URL_from_password_based_format_to_authentication_tokens -#git clone "https://git:${TOKEN}@git.overleaf.com/6287f573ce76551c2c0ed1b3" /home/subversion/git/athena/overleaf #AHEPaM-documents +#git clone "https://git:${yearly-TOKEN-with-URL-Encoding}@git.overleaf.com/6287f573ce76551c2c0ed1b3" /home/subversion/git/athena/overleaf #AHEPaM-documents #chmod o-rwx /home/subversion/git/athena/overleaf/.git #chmod g+rwxs -R /home/subversion/git/athena 4 */6 * * * git --git-dir=/home/subversion/git/athena/overleaf/.git --work-tree=/home/subversion/git/athena/overleaf pull -q 1> /dev/null @@ -38,6 +37,6 @@ Jonas token expires after 4th November 2025. https://forgejo.org/docs/latest/user/repo-mirror/#pulling-from-a-remote-repository https://forge.bexus.org/jonas/overleaf-AHEPaM-mirror/settings -clone via url: https://git.overleaf.com/6287f573ce76551c2c0ed1b3 +https://git.overleaf.com/6287f573ce76551c2c0ed1b3 username: git -password: +password: \ No newline at end of file