pika-first-setup/.github/github_pushback.sh

19 lines
572 B
Bash
Raw Normal View History

2024-12-04 19:49:35 +03:00
#! /bin/bash
2024-12-05 00:01:37 +03:00
mkdir -p ~/.ssh
ssh-keyscan pika-os.com >> ~/.ssh/known_hosts
ssh-keyscan git.pika-os.com >> ~/.ssh/known_hosts
2024-12-04 23:42:22 +03:00
#ssh-agent -a $SSH_AUTH_SOCK > /dev/null
#ssh-add - <<< "$1"
2024-12-04 20:51:52 +03:00
2024-12-04 20:33:42 +03:00
ssh -vT git@git.pika-os.com
2024-12-04 19:49:35 +03:00
# Commit changes to git
2024-12-04 18:26:45 +01:00
git config --global user.name 'ferreo'
git config --global user.email 'harderthanfire@gmail.com'
2024-12-04 19:49:35 +03:00
git config --global --add safe.directory /__w/gitea-pika-first-setup/gitea-pika-first-setup
2024-12-04 20:04:56 +03:00
git remote set-url origin git@git.pika-os.com:custom-gui-packages/pika-first-setup
2024-12-04 19:49:35 +03:00
git add .
git commit -am"Github Mirror Push Back"
git push