improve example
This commit is contained in:
parent
7682106d55
commit
c98dc21880
2 changed files with 14 additions and 3 deletions
|
|
@ -39,9 +39,10 @@ repository. So, enable annex.thin with care.
|
|||
|
||||
# git annex unlock photo.jpg
|
||||
# gimp photo.jpg
|
||||
# git annex add photo.jpg
|
||||
# git commit photo.jpg -m "redeye removal"
|
||||
# gimp photo.jpg
|
||||
# git commit photo.jpg -m "fix oversaturation"
|
||||
# git annex lock photo.jpg
|
||||
# git commit -m "redeye removal"
|
||||
|
||||
# OPTIONS
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""Re: We don’t need a 'git annex lock' after a 'git annex add', right?"""
|
||||
date="2025-09-16T17:28:49Z"
|
||||
content="""
|
||||
Well spotted. `git-annex add` defaults to adding files locked, even when
|
||||
adding what was an unlocked file before.
|
||||
|
||||
I've improved the example.
|
||||
"""]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue