Git magic: split repository into two

We’ve just hit this point in our project (packit) that we want to split it to two repositories: CLI tool and a web service.

I was thinking of keeping the git history for files I want to move to the other repository. There is a ton tutorials and guides how to do such a thing. This is what worked for me:

  1. Clone the original repository.

  2. Have a list of files I want to remove:

    …

    Keep reading

Efficient git[hub] tooling

This is a follow-up to my previous blog post: “My github pull request workflow”.

I would like to dedicate a complete post on how you can be efficient when using git[hub].

It’s certain that you may have your own tips and tricks up your sleeve. Please share them in the comments.

Let’s begin!

…

Keep reading

My GitHub pull request workflow

My colleague recently asked me how to correctly handle pull requests. Here’s how I’m doing it.

Everything starts with forking a repository so you can push your changes to your personal fork and then submit them as a pull request. So head over to the GitHub repository and hit the Fork button.

…

Keep reading

Installing python packages from git via pip

It may happen that you need to install a python project with pip from git(hub). That’s pretty easy:

…

Keep reading