Donate to support Ukraine's independence.

11 Aug'23

Rebasing all relevant pull requests on a Github repo

If you chose rebasing as your primary git workflow strategy, it becomes important to keep your feature branches updated. Out of the box, Github offers automatic rebasing on many Dependabot pull requests. Dependabot PRs can be further rebased semi-automatically using the @dependabot rebase command issued in the comments.

For all other PRs, you need to set up a bot or a Github Action to do this automatically. One such action that could be used is peter-evans/rebase:

name: Rebase
    - cron:  '40 7 * * *'

    runs-on: ubuntu-latest
      - uses: peter-evans/rebase@v2
          # token: ${{ secrets.GH_PAT }} 
          # exclude-drafts: true …

Continue reading


19 Feb'15

Update Git on Debian 7 to Git 2.3

Add the following repository to the sources.list:

deb precise main
deb-src precise main

Now, run sudo apt-get update and get the following output:

W: GPG error: precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A1715D88E1DF1F24

And fix it by running

sudo apt-key adv --keyserver --recv-keys A1715D88E1DF1F24

Now you can run

sudo apt-get install git

And afterwards verify your setup:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description …

Continue reading


14 Jun'13

Moving from Jekyll to Octopress

Hi again. Today I can proudly say that I was productively procrastinating! As you might know, my “Deep dive into Linux” journey has just began and today it saved me at least few hours.

While cleaning up my 1TB drive residing inside my desktop to make sure that all junk is removed whereas all important files are properly backed up to the cloud, I noticed that inside my old website folder there were at least 7 backup archives which were almost identical. They were consuming a lot of space and since going to the university I’ve being actively using …

Continue reading

05 Mar'12

Git deployment

Get some inspiration here first:

If it seems to hard for you, use this example:

There is a middle method, but I failed to implement it successfully:

Take a look at and as well.

Continue reading

15 Feb'12

Git through http proxy

Use this command to globally configure git:

git config --global http.proxy

Continue reading

10 Feb'12

Git default remote

git branch --set-upstream master <strong>origin</strong>/master

origin - name of the default remote

Continue reading