Git Product home page Git Product logo

git-config's Introduction

git-config

My Git configuration, comprising the following three files.

config

The Git configuration file includes aliases & other niceties that support my preferred workflow.

ignore

The global Git ignore file transcends all project types, and may provide a degree of insulation from the absence of a .gitignore file in a particular repository. It does not, however, preclude the use of a project-specific .gitignore file. As a starting point for those, consider reference .gitignore files maintained by either GitHub or gitignore.io.

attributes

The attributes file maps attributes to paths. At the time of this writing, it may only prove useful if you choose to incorporate support for diff-ing either .plist or .strings files.

Usage

In all likelihood you will already have files in place for this purpose; in that case, simply integrate excerpts into your existing configuration. Otherwise, you can incorporate them in one of the following methods:

Method 1

  1. Copy each file to ~/.config/git.

Method 2

  1. Move config to ~/.gitconfig.
  2. Move ignore to ~/.global_ignore and enter the following at the command line: git config --global core.excludesfile ~/.global_ignore.
  3. Move attributes to ~/.gitattributes and enter the following at the command line: git config --global core.attributesfile ~/.gitattributes.

References

git-config's People

Contributors

sabaranski avatar stevebaranski avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.