Brent Knigge
  • Home
  • About
  • contact
  • pages
    Notes Portfolio Recipes Products
  • Home
  •   /  My Notes
  •   /  Git

Initializing a Project

Learn how to initialize git for your project or even just clone a project and ignoring or adding empty directories

Git Config

Once you've installed git, you might want to set some of the configuration parameters

Basic Workflow

Follow the most common steps to push and pull code from a git repository

Git Branching

Learn how to create separate branches for your code to marry up to your feature list (and then merge it all back into your master branch)

Git Diff

Look at various techniques of using git diff and how to tie that into VS Code via a plugin

Git Conflicts

Learn how to use stash and kdiff3 to deal with conflicts in your code between branches when you either update from the repo or merge branches

Git conflicts in binary files

Learn how to deal with conflicts in binary files

Git ignoring and removing files

Learn how to ignore and remove files from git even after they've been pushed

Git Secret

Learn how to use git-secret to encrypt configuration files before they get pushed onto github, and decrypt them when they get pulled down

Git Hooks

In this article I demonstrate a few practical uses of using git hooks to make using git even better

Installing Gitea

Learn how to install gitea - a self hosted git repository UI

Creating a gitea service

Learn how to create a service for gitea which can also be adapted for other applications / services

© Brent Knigge 2023