[Soc-2014-dev] sharing some git aliases

brita britalmeida at gmail.com
Thu Jul 24 13:31:12 CEST 2014


hey all,
these are some aliases I use everyday with git that may be useful for
you/other students:

[alias]

        ## run on fridays to make the report of my weekly progress
        lgme = log --graph --pretty=tformat:'%h
%C(cyan)[%ar]%C(reset)%Cgreen%d%Creset %s - %C(yellow dim)%an%C(reset)'
--all --since 1week --author Ines

        ## morning merge (stash first if needed)
        socmerge = "!git fetch;git submodule foreach git pull origin
master;git merge origin/master"

        ## these I used previously to gsoc, to pull the addons repos and
translations too
        pullb = "!git pull;git submodule foreach git pull origin master"
        fs = submodule foreach git

        ## usage like > git lg 3days --more --parameters --here
        lg = log --graph --pretty=tformat:'%h
%C(cyan)[%ar]%C(reset)%Cgreen%d%Creset %s - %C(yellow dim)%an%C(reset)'
--all --since
        lg1 = log --graph --pretty=tformat:'%h
%C(cyan)[%ar]%C(reset)%Cgreen%d%Creset %s - %C(yellow dim)%an%C(reset)'
--all --since 1days

The rest of my gitconfig is at
http://wiki.blender.org/index.php/User:Brita/configs/git

--Inês
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2014-dev/attachments/20140724/ae0a3fd8/attachment.htm 


More information about the Soc-2014-dev mailing list