Open promeneur opened 6 years ago
A wizard to create remote repositories . . that is not going to work.
All you need to do:
cd ~/.password-store # or where-ever it is
git init
And you have a local git repository ..
When creating a remote repository at for-example github (public repo not recommended) the site gives instructions in the commands to execute.
But mostly it comes down to:
git remote add origin git@URL_OF_REPO
I have no idea how we could even start to write a wizard to add remote repo's etc . .
Something in the config to add a repo (above command with a paste box) is an idea . . But still I think out of scope (for now).
The simplest approach is: Don't use git. You can sync the password store folder with any tool you like (e.g. Dropbox).
Git has some minor advantages, like a history of all changes, but if you are not into it, you don't benefit from them.
But you are right in a sense, that this should belong to the Readme...
Does this solve the problem, or do you think that a guide to git would improve the Program?
The documentation is at: https://www.passwordstore.org/
zx2c4@laptop ~ $ pass git init
Initialized empty Git repository in /home/zx2c4/.password-store/.git/
zx2c4@laptop ~ $ pass git remote add origin kexec.com:pass-store
But yah . . might need to add that ;)
hello
roubach@linux-58nc:~> pass git init Dépôt Git vide initialisé dans /home/roubach/.password-store/.git/
*** Veuillez me dire qui vous êtes.
Lancez
git config --global user.email "Vous@exemple.com" git config --global user.name "Votre Nom"
pour régler l'identité par défaut de votre compte. Éliminez --global pour ne faire les réglages que dans ce dépôt.
fatal: impossible de détecter automatiquement l'adresse ('roubach@linux-58nc.(none)' trouvé) roubach@linux-58nc:~>
what must i do?
Well, I think the error message is extremely clear (even though it's in French) . .
git config --global user.email "your@email.tld"
git config --global user.name "Your Name Here"
roubach@linux-58nc:~> git config --global user.name promeneur roubach@linux-58nc:~> pass git remote add origin kexec.com:pass-store roubach@linux-58nc:~> then i launch qtpass then i select a usable key (opensuse creates automatically for each email account a gpg key) then i select all about git in qtpass settings then i add a password (i genrate with pwgen a passworg and fills "login" and "url") then ok then i got
fatal: La branche courante master n'a pas de branche amont. Pour pousser la branche courante et définir la distante comme amont, utilisez
git push --set-upstream origin master
then
roubach@linux-58nc:~> cd .password-store roubach@linux-58nc:~/.password-store> git push --set-upstream origin master error: src refspec master does not match any. error: impossible de pousser des références vers 'kexec.com:pass-store' roubach@linux-58nc:~/.password-store
This is because 'kexec.com:pass-store is an fictional example. You should replace it with the address of a git repository that you own. You need to create a private remote git project somewhere first (on a server that you trust - you can look at https://chatons.org and search for hosts that provide a gitlab instance :)
Opensuse 42.3
for me all about git is a nightmare. i am not a dev and i don't understand anything about git. i understand it is a mean to synchronize and i just want to use it.
please add an assistant creating a git password store for me and a task to sync the local and remote store.
thanks