pss
pss copied to clipboard
Easily iterate over and search git branches
This is a common problem I wish pss solved.
-
Imagine I have a python class instance method in git REPO_01. This repo has several git branches.
-
Imagine my python in git REPO_02 has many git branches, only some of them import the class from REPO_01
Assume I git clone both repos in a directory on my laptop; assume the directory is called ~/project_foo.
How can I iterate over and search all branches and all files of REPO_01 and REPO_02 (which have multiple levels of subdirectories) for a method string, "do_useful_thing_01"?
If I am right, pss can't do this today without installing xargs.
pss
is unaware of git branches, and adding such awareness would be a very large feature. I've only needed such functionality very rarely myself, and in such cases a piped command with some git
command works well. OOC, where do you have to specifically install xargs
? Windows?