From aba4d83c39b6a6d877fc12a040f36f78075f8f80 Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Mon, 20 May 2024 14:19:50 +0000 Subject: [PATCH] deploy.sh: implement todo Summary: albeit incomplete in `ash`, who cares? :tm: Signed-off-by: Yongmin Hong Test Plan: `sh deploy.sh` Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D117 --- deploy.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 6b8de30..36db9c0 100644 --- a/deploy.sh +++ b/deploy.sh @@ -15,10 +15,16 @@ echo 'Now starting deploy script' -# TODO: make it emit last commit hash, date and commit title +git show --minimal --no-patch --pretty=oneline echo 'Now copying git defaults' +rm -rf ~/.gitignore +echo 'moving .gitignore' cp default.gitignore ~/.gitignore +rm -rf ~/.gitconfig +echo 'moving .gitconfig' cp default.gitconfig ~/.gitconfig +rm -rf ~/.gitaliases +echo 'moving .gitaliases' cp .gitaliases ~/.gitaliases - +echo 'Done!'