sysconfig/git-ignore-merge-here.sh
2024-02-23 13:27:18 +08:00

7 lines
286 B
Bash

#!/bin/bash
echo === Merge remote [.gitignore_global] and local [.gitignore_local] to [.gitignore] ===
curl -sSL https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore_global > .gitignore
if [ -f .gitignore_local ]; then cat .gitignore_local >> .gitignore; fi;
echo