Relative Content

Tag Archive for gitgithub

How to create a git alias which automatically prepends a certain string to a branch checkout?

I’m working on a project which requires me to create a number of Git branches with identical starting components (something like x/y/z/). This slows down tab completion a lot, since there are remotes on this project for other people working on it that have similar but distinct starting components. Is there a way to create a git alias which would automatically prepend my particular branch start to git checkouts?