Reputation: 622
I just want to input the password only. Is there a way to avoid inputting username when git push with HTTPS?
Upvotes: 3
Views: 55
Reputation: 27295
With Git 1.7 and higher you can define your username and password before the address. Something like that:
git config remote.origin.url https://you:[email protected]/your/example.git
then you can define your user and password and don't need to enter them every time.
Upvotes: 3