Tag Archives: Git

Deploying to production via FTP using GIT hooks

In this post, we address a common development task of pushing to production. This tutorial assumes you are working on linux, use GIT for version control and are somewhat familiar with python. I’ve only recently started using python for scripting and I can say it’s very friendly for these kind of tasks. Also, I assume […]

Continue reading

The GIT Cheat Sheat

In this article, I’ll be enlisting some of the most common git commands I use when working on software projects. # configure the environment and working user git config –global user.name “John Doe” git config –global user.email “john.doe@example.com” git config –global color.ui true # create the bare repository (for push/pull) repo=repository.git mkdir $repo && cd […]

Continue reading

GIT default .gitignore file

It’s always handy to have this around: the default configuration for git to know which files to ignore when working on a software project. The file is taken from the GitHub for Windows upon creating a repository. You can view and download the file here: https://invision-web.net/web/sources/gitignore.txt Or put it into your working git repository: # […]

Continue reading