Push from an SSH Terminal
- From
Feanil Patel <feanil@gmail.com>
- Date
- Feb 3, 2012, 15:50 UTC
- Message-ID
- <CAG94OYxX5foffvaFLQv7=wXguGC2TLgccdDFrC+ERzv_gXZ=ug@mail.gmail.com>
Hi Everyone,
I tried looking for an answer to my problem online without much luck, perhaps you can help me. I'm SSHed from my laptop(Comp A) over to a computer(Comp B) that has my git repo on it. I made some changes and comitted them. Now I want to push them to my other server(Comp C). The repository is password protected so if I'm physically at Comp B, I get a gui prompt for my username and password. However Comp A does not have X Forwarding setup to Comp B so I can't get the gui interface for the username and password when I try to do the push. Is there an alternative way to provide my credentials when doing a git push that does not require a gui?
-- Feanil Patel