Kaizen Today I Learned by Ville Säävuori

Posts tagged git

Optimal Workflow For GitLab Merge Requests

I’ve been working a lot with GitLab Merge Requests lately and stumbled by accident to a workflow that makes creating and working with MRs easy. When you have a ticket that relates to the MR, name your repo starting with the ticket number: 42-figure-out-life Now push the branch empty branh. GitLab project page suggests you to open a MR (and if the repo has configured it, the MR link also shows in the Git log as well).

· Read the full article →

Updating the list of local Git branches from remote

Vscode Git branch dropdown becomes unwieldly fast when not kept up to date often. Here’s how to update the local list of remote branches: git fetch --prune git pull --prune Make this automatic every time you run pull or fetch: git config remote.origin.prune true

· Read the full article →