<div dir="ltr"><div>I took a class in git years ago and the only thing I remember is that I have a   ~/.gitconfig</div><div>I don't know what many of them do anymore (especially the lfs ... large file support?)</div><div>The mergetool might not be useful ... I don't have any [diff] options ... but hey ... take them for what they are worth.</div><div>I only have the [user] and [alias] blocks in my .gitconfig on cheyenne.</div><div>If anyone wants to improve upon these and share their results - I am all ears.</div><div><br></div><div>The alias I had to be able to support 'diffuse' on a branch on a worktree (yes, that's a thing) is:</div><div>git difftool --tool=diffuse --no-prompt !*<br></div><div><br></div><div><br></div><div><font face="monospace">0[1004] cisl-delft:~ % cat .gitconfig<br>[core]<br>        excludesfile = /Users/thoar/.gitignore_global<br>        editor = vim<br>[mergetool "sourcetree"]<br>        cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"<br>        trustExitCode = true<br>[user]<br>        name = Tim Hoar<br>        email = <a href="mailto:thoar@ucar.edu">thoar@ucar.edu</a><br>[push]<br>        default = simple<br>[alias]<br>        git     = rev-parse --git-dir<br>        lol     = log --graph --decorate --oneline --all<br>        short   = log --abbrev-commit --pretty=oneline<br>        root    = rev-parse --show-toplevel<br>        whatis  = show -s --pretty='tformat:%h (%s, %ad)' --date=short # Junio Hamano<br>        co      = checkout<br>        br      = branch<br>        ci      = commit<br>        st      = status<br>        unstage = reset HEAD --<br>        last    = log -1 HEAD<br>[filter "lfs"]<br>        clean = git-lfs clean -- %f<br>        smudge = git-lfs smudge -- %f<br>        process = git-lfs filter-process<br>        required = true</font><br></div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Tim Hoar<div>Data Assimilation Research Section</div><div>National Center for Atmospheric Research</div><div><a href="mailto:thoar@ucar.edu" target="_blank">thoar@ucar.edu</a></div><div>303.497.1708</div></div></div></div></div></div></div>