You are not logged in.

#1 2018-11-01 04:58:01

medicineman25
Member
Registered: 2014-12-03
Posts: 110

[SOLVED] Cannot configure etckeeper properly

EDIT: nevermind, I'm a total spaz and didn't enter my ssh keys properly

Having a tremendous amount of difficulty doing something that should be fairly simple: get etckeeper to work with a remote git repo.

I followed this page: Etckeeper

NOTE: I already have my git username set and added ssh key to github.

Steps to reproduce:

1) I initialized etckeeper inside /etc folder:

 $ etckeeper init 

2) add a remote repo

 $ git remote add origin git@github.com/<username>/<repo>.git 

3) make a change in /etc

 $ touch test 

I then receive a prompt to enter a commit message, as etckeeper has caught the change, I do this... then I get

fatal: the current branch master has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream etckeeper master


I do this as well, then it hangs for ages. It is still hanging now going on about 30 mins.


Any suggestions to get this working would be appreciated.

Thanks

MM25

Last edited by medicineman25 (2018-11-01 05:12:02)

Offline

Board footer

Powered by FluxBB