You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__pick-git__ is a set of command line tools for leveraging thoughtbot's [pick](https://github.com/calleerlandsson/pick) to turbocharge your Git workflow.
6
+
__pick-git__ is a set of command line tools for leveraging [fzf](https://github.com/junegunn/fzf) to turbocharge your Git workflow.
7
7
8
8
Git can be a bit of a pain, especially when passing branches or commit hashes as args. Big projects have lots of branches and tons of commits. Finding and copying commit hashes to compare commits, for example, is awkward and slow.
9
9
10
-
`pick`, however, was literally born for jobs like this. __pick-git__ uses `pick` to make working with branches, commits and files in your project's repo a breeze.
10
+
`fzf`, however, was literally born for jobs like this. __pick-git__ uses `fzf` to make working with branches, commits and files in your project's repo a breeze.
11
11
12
12
It's installable via `pip` and works with Python 2/3.
13
13
@@ -19,7 +19,7 @@ pip install pick-git
19
19
20
20
21
21
## Dependencies
22
-
-[pick](https://github.com/calleerlandsson/pick)
22
+
-[fzf](https://github.com/junegunn/fzf)
23
23
-[pyperclip](https://github.com/asweigart/pyperclip) (optional, and anyway it's automatically included if you install with `pip`)
24
24
25
25
@@ -34,7 +34,7 @@ I have `ghp` aliased to `pick-git --function commit`. The function argument is o
34
34
35
35
`gd` is a shortcut I have that resolves to `git diff`. The `-b` flag allows me to pick both commits and compare them, instead of just picking one and comparing it with HEAD.
36
36
37
-
At the end the final command that was invoked, `gd 28faaf7 4750072`, was printed to the console. I was able to find two commits and compare them very quickly and with very few keystrokes. __Even if these commits had been in a much bigger project and were months old__, pick's fuzzy select would have found them in no time as long as my commit messages were descriptive.
37
+
At the end the final command that was invoked, `gd 28faaf7 4750072`, was printed to the console. I was able to find two commits and compare them very quickly and with very few keystrokes. __Even if these commits had been in a much bigger project and were months old__, fzf's fuzzy select would have found them in no time as long as my commit messages were descriptive.
38
38
39
39
40
40
### Shortcuts to pick-git Public Functions
@@ -92,7 +92,7 @@ Run `pick-git -h`.
92
92
93
93
94
94
## Contributing
95
-
The "primitives" for the package are defined in `pick_git/core.py` and are listed below. These are the functions that actually invoke `pick`. If you think of other useful primitives please fork the repo and submit a pull request.
95
+
The "primitives" for the package are defined in `pick_git/core.py` and are listed below. These are the functions that actually invoke `fzf`. If you think of other useful primitives please fork the repo and submit a pull request.
96
96
97
97
-`pick_branch`
98
98
-`pick_commit`
@@ -117,7 +117,3 @@ If anyone has ideas I'd love to hear them.
117
117
118
118
## License
119
119
This code is licensed under the [MIT License](https://opensource.org/licenses/MIT).
120
-
121
-
122
-
## Thanks
123
-
To Calle Erlandsson and thoughtbot for writing pick =)
0 commit comments