OSDN Git Service

Regular updates
[twpd/master.git] / pass.md
1 ---
2 title: Pass
3 layout: 2017/sheet
4 category: CLI
5 ---
6
7 Reference
8 ---------
9
10 ### Create
11
12 ```sh
13 $ pass init [-p] <gpg-id>
14 $ pass git init
15 $ pass git remote add origin <your.git:repository>
16 $ pass git push -u --all
17 ```
18
19 ### Store
20
21 ```sh
22 $ pass insert [-m] twitter.com/rsc
23 $ pass generate [-n] twitter.com/rsc length
24 ```
25
26 ### Retrieve
27
28 ```sh
29 $ pass ls twitter.com/
30 $ pass show twitter.com/rsc
31 $ pass -c twitter.com/rsc
32 ```
33
34 ### Search
35
36 ```sh
37 $ pass find twitter.com
38 ```
39
40 ### Management
41
42 ```sh
43 $ pass mv twitter.com twitter.com/rsc
44 $ pass rm [-rf] twitter.com
45 $ pass cp twitter.com/rsc twitter.com/ricosc
46 ```
47
48 ```sh
49 $ pass edit twitter.com/rsc
50 ```
51
52 ### Synchronize
53
54 ```sh
55 $ pass git push
56 $ pass git pull
57 ```
58
59 ## References
60
61 * <https://passwordstore.org>