Skip to content
forked from porn/gitconfig

Customized ~/.gitconfig for my friends or anyone who's interested

Notifications You must be signed in to change notification settings

michondr/gitconfig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitconfig

forked from porn/gitconfig few aliases that speed me up

branches

git br
git co master
git up
git unfuck
git mkbranch ABC-123-some-feature

rebase

git rb
git rbc
git rba

commits

git ci
git cp

and some more

Installation

  • Download or clone the repository to some directory (e.g. ~/github/michondr/gitconfig/).
cd
mkdir -p github/michondr
cd github/michondr
git clone https://github.com/michondr/gitconfig.git
  • Include the gitconfig file in your ~/.gitconfig:
[include]
	path = ~/github/michondr/gitconfig/gitconfig
...

This way your personal changes won't overwrite the file when you use:

git config --global user.name "James Bond"
git config --global user.email "jb@example.com"

Global Ignore

Feel free to use my collection of file patterns I don't want to track:

  • Symlink the global gitignore file to your home directory
ln -s ~/github/michondr/gitignore.global ~/.gitignore

About

Customized ~/.gitconfig for my friends or anyone who's interested

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%