43 lines
2.1 KiB
Text
43 lines
2.1 KiB
Text
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 -v
|
|
git --git-dir=/home/subversion/git/athena/overleaf/.git --work-tree=/home/subversion/git/athena/overleaf pull
|
|
```
|
|
|
|
https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
|
|
For consistency, percent-encoded octets in the ranges of ALPHA
|
|
(%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E),
|
|
underscore (%5F), or tilde (%7E) should not be created by URI
|
|
producers and, when found in a URI, should be decoded to their
|
|
corresponding unreserved characters by URI normalizers.
|
|
|
|
ssh zumkeller@asterix
|
|
crontab -l
|
|
#crontab -e
|
|
#chgrp athena /home/subversion/git/athena
|
|
#chmod g+ws /home/subversion/git/athena #s=setgit = same group for subdirs
|
|
#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
|
|
#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
|
|
|
|
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
|
|
username: git
|
|
password: <Token>
|