Like I prefer to work locally with Kile and Git but I share to people an Overleaf for better realtime interactivity during meetings for instance.
As it is the same Overleaf from a meeting to another a meeting member may modify the Overleaf so have to pay attention to not have conflict leading to overwriting and if there are some treat them.
Like I prefer to work locally with Kile and Git but I share to people an Overleaf for better realtime interactivity during meetings for instance.
As it is the same Overleaf from a meeting to another a meeting member may modify the Overleaf so have to pay attention to not have conflict leading to overwriting and if there are some treat them.
Ideally would be compatible with #11 scheme.
i: We are testing this new feature.Click to give feedback
help page:
The Overleaf Git integration allows you to clone your Overleaf project to a local repository, treating your Overleaf project as a remote repository that changes can be pushed to and pulled from.
With the first option git {clone,pull,push} works fine.

*i*: *We are testing this new feature.* *Click to give feedback*
*help page*:
> The Overleaf Git integration allows you to clone your Overleaf project to a local repository, treating your Overleaf project as a remote repository that changes can be pushed to and pulled from.
Source: https://www.overleaf.com/learn/how-to/Git_integration_authentication_tokens
With the first option `git {clone,pull,push}` works fine.
So should just investigate if the repository is the same for everyone which I believe is not and what happens if writing on both sides at the same time.
So should just investigate if the repository is the same for everyone which I believe is not and what happens if writing on both sides at the same time.
If try to push new commits on modified Overleaf remote, then get:
git push
Output:
To https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git push -f
Output:
Enumerating objects: 119, done.
Counting objects: 100% (119/119), done.
Delta compression using up to 16 threads
Compressing objects: 100% (119/119), done.
Writing objects: 100% (119/119), 60.87 MiB | 10.33 MiB/s, done.
Total 119 (delta 35), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (35/35)
remote: error: forced push prohibited
remote:
remote: hint: You can't git push --force to a Overleaf project.
remote: hint: Try to put your changes on top of the current head.
remote: hint: If everything else fails, delete and reclone your repository, make your changes, then push again.
To https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX
! [remote rejected] master -> master (forced push prohibited)
error: failed to push some refs to 'https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX'
This makes typo or secret leak kept forever?
If try to push new commits on modified Overleaf remote, then get:
```bash
git push
```
<details>
<summary>Output:</summary>
```
To https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
```
</details>
```bash
git push -f
```
<details>
<summary>Output:</summary>
```
Enumerating objects: 119, done.
Counting objects: 100% (119/119), done.
Delta compression using up to 16 threads
Compressing objects: 100% (119/119), done.
Writing objects: 100% (119/119), 60.87 MiB | 10.33 MiB/s, done.
Total 119 (delta 35), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (35/35)
remote: error: forced push prohibited
remote:
remote: hint: You can't git push --force to a Overleaf project.
remote: hint: Try to put your changes on top of the current head.
remote: hint: If everything else fails, delete and reclone your repository, make your changes, then push again.
To https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX
! [remote rejected] master -> master (forced push prohibited)
error: failed to push some refs to 'https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX'
```
</details>
This makes typo or secret leak kept forever?
Cloning into 'XXXXXXXXXXXXXXXXXXXXXXXX'...
Password for 'https://git@git.overleaf.com':
On Debian 12 GNOME *Pegasus*:
```bash
git clone https://git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX
```
<details>
<summary>Output:</summary>
```
Cloning into 'XXXXXXXXXXXXXXXXXXXXXXXX'...
Username for 'https://git.overleaf.com':
```
</details>
Same censored part as in https://www.overleaf.com/project/XXXXXXXXXXXXXXXXXXXXXXXX, so related to #28.
```bash
git clone https://git@git.overleaf.com/XXXXXXXXXXXXXXXXXXXXXXXX
```
<details>
<summary>Output:</summary>
```
Cloning into 'XXXXXXXXXXXXXXXXXXXXXXXX'...
Password for 'https://git@git.overleaf.com':
```
</details>
Related to [Improve_websites_thanks_to_open_source/issues/735](https://codeberg.org/Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/735).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Like I prefer to work locally with Kile and Git but I share to people an Overleaf for better realtime interactivity during meetings for instance.
As it is the same Overleaf from a meeting to another a meeting member may modify the Overleaf so have to pay attention to not have conflict leading to overwriting and if there are some treat them.
Ideally would be compatible with #11 scheme.
Does not Git integration does that?
i: We are testing this new feature. Click to give feedback
help page:
Source: https://www.overleaf.com/learn/how-to/Git_integration_authentication_tokens
With the first option
git {clone,pull,push}works fine.Source: https://www.overleaf.com/user/settings
So should just investigate if the repository is the same for everyone which I believe is not and what happens if writing on both sides at the same time.
If try to push new commits on modified Overleaf remote, then get:
Output:
Output:
This makes typo or secret leak kept forever?
On Debian 12 GNOME Pegasus:
Output:
Same censored part as in https://www.overleaf.com/project/XXXXXXXXXXXXXXXXXXXXXXXX, so related to #28.
Output:
Related to Improve_websites_thanks_to_open_source/issues/735.