Sunday Quicky #6: Essential Initial Git Settings on Linux When 2FA is Set Up on Github

So you’re set up on Github, and being the privacy conscious person you are you have Two Factor Authentication turned on. You’ve added a personal access token so that you can push from repos from a machine. Now you have a new install of Git on some flavour of Linux and you want to configure Git on the command line to be as frictionless as possible while you’re using it, while still remaining secure. What you really need for this is to set up credential caching so that you won’t need to enter your password every time you run git push. Let’s explore this and some other initial configuration steps that will make use of Git that much easier.

Continue reading “Sunday Quicky #6: Essential Initial Git Settings on Linux When 2FA is Set Up on Github”

Sunday Quicky #4: Creating a New Github Project

I have already done the bulk of the work on this, but it has a lot of waffle around it, so this will be a more straight to the point version.

Step One: Create Git Local Repository

Figure 1: Create local repository

Traditionally you add a README.md file first and initialise the repository, then add the new file and commit it.

Continue reading “Sunday Quicky #4: Creating a New Github Project”

Python Distributions Package, Testing and Github

Introduction

So, I’m starting from the end on this one, I have the work done, but I’m going to document some important elements of how to go about creating a Python package, how to run some tests to ensure that it works and how to store it on Github. First I’m going to start with Github, then I’ll work on some testing and finally we’ll discuss the code.

Continue reading “Python Distributions Package, Testing and Github”

Sunday Quicky #2: Git Bash Tab Completion Setup

Introduction

Right now I’m working away on a bigger post, part of the topic being covered is the use of Git. If you don’t know what Git is follow the link, but basically it helps you to keep track of and manage changes made to files you use as part of a project. If you do any sort of coding on your machine and you’re not currently using version control, you really should consider it, it’s a game changer. There’s even a free course on Udacity to get you started, I did a previous version and it was most definitely worth it.

Continue reading “Sunday Quicky #2: Git Bash Tab Completion Setup”