title: How to embed bash script directly inside a git alias
body: <p>Can I embed the following bash shell code:</p>
  
  <pre><code>for name in $(git diff --name-only $1); do git difftool $1 $name &amp; done
  </code></pre>
  
  <p>directly into the creation of a git alias: </p>
  
  <pre><code>git config --global alias.diffall ***my-bash-code-here***
  </code></pre>
  
  <p>This leads on from my <a href="https://stackoverflow.com/questions/1220309/git-difftool-open-all-diff-files-immediately-not-in-serial/1291578#1291578">previous question/answer</a> on SO, where I put the code into a .sh file and then aliased to the file:</p>
  
  <pre><code>git config --global alias.diffall '!sh diffall.sh'
  </code></pre>
  
  <p>But in the never-ending quest for simplicity, there's gotta be a way to skip the file and insert code directly into the alias? I can't figure out the format...</p>