Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

davidxia/git-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This repo versions my git configuration so that I can easily replicate my git settings across all computers. And setting up a new computer for development is fast.

It works by creating a symlink from the user's home directory to the versioned gitconfig file which has aliases and settings I like (e.g. autorebasing on pull). The gitignore_global ignores compiled source files, packages, logs, databases, and OS and Vim-generated files.

Installation

git clone https://github.com/davidxia/git-config.git ~/.git-config
ln -fs ~/.git-config/gitconfig ~/.gitconfig
ln -fs ~/.git-config/gitignore_global ~/.gitignore_global

If you are not David Xia, make sure to change the name and email address in gitconfig.

About

My personal git config bc I work on different machines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published