Skip to content
Snippets Groups Projects
Select Git revision
  • 38e44dd60b2d9d1214373bba9721a7c15e50f263
  • master default
2 results

git-skel

Blame
    • nimrod's avatar
      34ee0464
      Some git scripts work. · 34ee0464
      nimrod authored
      - git skel alias. Maintain a skeleton directory and the alias copies
        them over and adds them. For now, Markdown and reStructuredText README
      files, a .gitignore and a starting VERSION file.
      - Nicer commit messages with git-bump.
      - git-license to generate a LICENSE.txt file and add it.
      34ee0464
      History
      Some git scripts work.
      nimrod authored
      - git skel alias. Maintain a skeleton directory and the alias copies
        them over and adds them. For now, Markdown and reStructuredText README
      files, a .gitignore and a starting VERSION file.
      - Nicer commit messages with git-bump.
      - git-license to generate a LICENSE.txt file and add it.
    git-skel 125 B
    #!/bin/sh
    set -eu
    
    for i in "$@"
    do
        cp --dereference --target-directory=./ "$HOME/.config/git/skel/$i"
    done
    git add "$@"