Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHubキーの作成・追加とか、etckeeperとか #136

Open
book000 opened this issue May 15, 2023 · 0 comments
Open

GitHubキーの作成・追加とか、etckeeperとか #136

book000 opened this issue May 15, 2023 · 0 comments

Comments

@book000
Copy link
Owner

book000 commented May 15, 2023

sudo apt install etckeeper

# copy ssh key or git configuration

sudo vim /etc/etckeeper/etckeeper.conf
# VCS="git"
# PUSH_REMOTE="origin"

cd /etc
sudo rm -rfv .git
sudo etckeeper init
sudo git config user.name Tomachi[XXX]
sudo git config user.email [email protected]
sudo git config --global user.name Tomachi[XXX]
sudo git config --global user.email [email protected]
sudo git remote add origin [email protected]:tomacheese/etckeeper-XXX.git
sudo etckeeper commit -m "first commit"
sudo git push --set-upstream origin master

sudo vim /etc/etckeeper/daily
# add git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant