mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Update FAQ to consistently use ~/
This commit is contained in:
		
							parent
							
								
									b08402569d
								
							
						
					
					
						commit
						e33cbbda4c
					
				| @ -105,7 +105,7 @@ Of course. You only need `gpg`, `openssl`, `transcrypt` or `git-crypt` installed | ||||
| if you plan on using the encrypt/decrypt features. yadm will tell you if it is  | ||||
| missing a dependency for any command. | ||||
| 
 | ||||
| ### Should I `yadm add` my `.config/yadm/encrypt` file? | ||||
| ### Should I `yadm add` my `~/.config/yadm/encrypt` file? | ||||
| 
 | ||||
| Yes! This way your configuration for what files should be encrypted will follow | ||||
| you when you clone your repository. | ||||
| @ -113,9 +113,9 @@ you when you clone your repository. | ||||
| ### Should I `yadm add` encrypted files to repository? | ||||
| 
 | ||||
| No, you should not. Instead, add the names (or wildcard patterns) of the files you want | ||||
| encrypted to `.config/yadm/encrypt`. Then, use the `yadm encrypt` command to encrypt the  | ||||
| encrypted to `~/.config/yadm/encrypt`. Then, use the `yadm encrypt` command to encrypt the  | ||||
| matched files which then adds them to `~/.local/share/yadm/archive`. Then, use  | ||||
| `cd ; yadm add .local/share/yadm/archive` to add this file to the yadm repository.  | ||||
| `yadm add ~/.local/share/yadm/archive` to add this file to the yadm repository.  | ||||
| This way, only encrypted versions of those files will be in the repository. After | ||||
| cloning or updating your repository, you can use `yadm decrypt` to extract the | ||||
| encrypted files from `~/.local/share/yadm/archive` into your working copy. See the | ||||
| @ -123,7 +123,7 @@ encrypted files from `~/.local/share/yadm/archive` into your working copy. See t | ||||
| 
 | ||||
| ### I modified an encrypted file, but yadm doesn't show any modifications. Why? | ||||
| 
 | ||||
| If you changed files which are matched by `.config/yadm/encrypt`, you must | ||||
| If you changed files which are matched by `~/.config/yadm/encrypt`, you must | ||||
| re-run `yadm encrypt` to generate a new version of `~/.local/share/yadm/archive`. | ||||
| Then `~/.local/share/yadm/archive` can be added to a new commit. | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user