Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Monday, April 6, 2015

Git ignore local files


vim .git/info/exclude - add files like to .gitignore

git update-index --assume-unchanged <file> <file> ... - apply changes

Saturday, September 7, 2013

Few GIT alias

[alias]
lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
report = "log --author=Marco --since='2 sunday ago' --until='1 sunday ago' --format='%Cgreen%ci%Creset %s%Creset' --no-merges"

report-csv = "log --author=Marco --since='2 sunday ago' --until='1 sunday ago' --format='\"%ci\",\"%s\"' --no-merges"

today = "log --since=midnight --author='Your Initial' --oneline"