Readme: update

Signed-off-by: dzdidi <deniszalessky@gmail.com>
This commit is contained in:
dzdidi
2024-01-29 09:40:23 +00:00
parent a172732eed
commit 3ed49d3d04

View File

@@ -116,7 +116,7 @@ git fetch origin
git pull git pull
``` ```
## Authenticated usage example (push) ## Authenticated usage example (push) - at your own risk
Collaboration is possible with the following flow between Carol and David in a pure peer-to-peer manner of git. Collaboration is possible with the following flow between Carol and David in a pure peer-to-peer manner of git.
@@ -142,7 +142,7 @@ Collaboration is possible with the following flow between Carol and David in a p
* `GIT_PEAR_AUTH_NSEC=<David's nsec> GIT_PEAR_AUTH='nip98' git clone pear://<Carol's url>/<repo name>` * `GIT_PEAR_AUTH_NSEC=<David's nsec> GIT_PEAR_AUTH='nip98' git clone pear://<Carol's url>/<repo name>`
3. Do the necessary change in separate branch 3. Do the necessary change in separate branch
* `git checkout -b feat/david` * `git checkout -b feat/david`
* // do change * do change
* `git add .` * `git add .`
* `git commit -s -m 'made by David'` * `git commit -s -m 'made by David'`
4. Push branch to origin 4. Push branch to origin