diff --git a/internal_docs/git.test b/internal_docs/git.test index bc6380c..164fb32 100644 --- a/internal_docs/git.test +++ b/internal_docs/git.test @@ -2,11 +2,12 @@ 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:@git.overleaf.com/6287f573ce76551c2c0ed1b3 +git remote set-url origin "https://git:${TOKEN}@git.overleaf.com/6287f573ce76551c2c0ed1b3" git remote -v git --git-dir=/home/subversion/git/athena/overleaf/.git --work-tree=/home/subversion/git/athena/overleaf pull ``` @@ -26,7 +27,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:${yearly-TOKEN-with-URL-Encoding}@git.overleaf.com/6287f573ce76551c2c0ed1b3" /home/subversion/git/athena/overleaf #AHEPaM-documents +#git clone "https://git:${TOKEN}@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 @@ -37,6 +38,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 -https://git.overleaf.com/6287f573ce76551c2c0ed1b3 +clone via url: https://git.overleaf.com/6287f573ce76551c2c0ed1b3 username: git -password: \ No newline at end of file +password: