This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.bootstrap.sh
2023-10-31 21:36:59 +03:00

15 lines
293 B
Bash
Executable file

#!/bin/bash
# check if this is already a git repo.
if [[ -d ".git" ]]; then
echo "Found the .git directory. Already initialized?"
exit 1
fi
# sync.
git init
git remote add origin https://git.voronind.com/voronind/linux.git
git fetch
git reset origin/master
git checkout -t origin/master