How do I synchronize git folders to allow me to use R files simultaneously on multiple stations?

Asked

Viewed 117 times

2

I did an account in Git, and it’s supposed to allow me to use R files simultaneously on multiple stations. But I have fought hard to succeed in the SSH key that the platform asks for. And now I still can’t do it pull and push.

Can someone guide me, what I can do or what subject I should study to solve this difficulty?

  • Which error appears?

  • You could put the directory you’re trying to?

  • 1

    Thank you for talking about the directory was non-compliance with my Once solved I get back to dealing with the git Cloning into 'Dados_economics'... Permission denied (publickey). fatal: Could not read from remote Repository. Please make sure you have the correct access Rights and the Repository exists.

  • Managed to solve the permission problem? Another point, how did you solve the initial problem?

  • For problems with permision I understood that I have to generate a key per workstation and now I was able to clone the documents to the first station using ssh keygen from git itself, I am now trying to deal with the fact that the r repository is not being updated and Poll and push remain inactive. .

  • I believe I will have to create SSH key for every machine (workstation) and always add them to the project in the gitlab Settings option in the browser

  • Each machine has to have an ssh, independent of the account. An example is github, where you can create multiple ssh for a single account.

  • I get it, I believe we’re on the right track. at least I can already make the initial copy of the files at the moment I can’t synchronize the changes.

  • When you try to push, show what error? Still continues with Permission denied (publickey)?

  • The button is deleted, not available as if it were a command.

  • already made add and commit?

  • I don’t know what it means :/

  • You use this https://desktop.github.com program/

  • https://gitlab.com/ - managed the ssh key - I already connected to the repository, I cloned the repository files, I can’t send my changes to the repository.

  • I was successful, I did all the cementary above, and this allowed me access to folder, in order to change, I changed the folder to "public" in Settings -> general -> permissionary. I got everything I wanted, I really appreciate your help. o/ thanks

  • Make an answer with the solutions you found!

Show 11 more comments

1 answer

1


Git, has a keygen platform and a tutorial in Portuguese on the site. https://git-scm.com/ Through the tutorial in item 4.3 (https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key)e possible to use Git itself to generate an SSH key, this key must be generated one for each workstation so 3 stations 3 separate keys. All generated keys should be added to the project, which was created in Git, in my case added to the project directly on the Gitlab website. Once you have completed all the steps, make sure the project is public so you can make all the changes.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.