Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EGit Push: How to store the remote repository info

Tags:

git

eclipse

egit

When i'm pushing new commits to the remote repository in Eclipse i have to complete the form again :

enter image description here

But even if i click on the check box store in secure store, then info are not stored.

How could i store the info to not have to retype it each time?

like image 778
Jerome Ansia Avatar asked Dec 05 '25 14:12

Jerome Ansia


1 Answers

If you always use only one single remote repository, then you should configure that remote repository to be your "upstream". Select a project and use Team -> Remote -> Configure push to upstream.

If you want to use multiple remote repositories, then you should expand your repository node in the git perspective to see the Remotes node. You can add a new remote repository there once (using the context menu on the Remote node) and afterwards push to one of your remote repositories by just selecting the matching remote remote node and use the Push command from the context menu of the remote node.

new remote configuration

like image 149
Bananeweizen Avatar answered Dec 08 '25 06:12

Bananeweizen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!