* change URL
@ 2009-11-27 9:56 Rakotomandimby Mihamina
2009-11-27 11:22 ` Jan Krüger
0 siblings, 1 reply; 3+ messages in thread
From: Rakotomandimby Mihamina @ 2009-11-27 9:56 UTC (permalink / raw)
To: git
Hi all,
When I first cloned a project, I used the non fully qualified hostname
if the repo:
$ git clone ssh://git/git/Mailaka
When pushing, it was OK:
$ git push
mihamina@git's password:
Counting objects: 7, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 825 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
To ssh://git/git/Mailaka
1e91a44..8af5c57 master -> master
Now, I am on a slow network, with a different search domain in resolv.conf.
What should I edit to make "git push" uses "git.rktmb.org" rather than "git.domainsearch-in-resolv.conf"?
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 33 11 207 36
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: change URL
2009-11-27 9:56 change URL Rakotomandimby Mihamina
@ 2009-11-27 11:22 ` Jan Krüger
2009-11-27 15:09 ` Michael J Gruber
0 siblings, 1 reply; 3+ messages in thread
From: Jan Krüger @ 2009-11-27 11:22 UTC (permalink / raw)
To: Rakotomandimby Mihamina; +Cc: git
Hi,
Rakotomandimby Mihamina <mihamina@gulfsat.mg> wrote:
> When I first cloned a project, I used the non fully qualified hostname
> if the repo:
> $ git clone ssh://git/git/Mailaka
> [...]
> What should I edit to make "git push" uses "git.rktmb.org" rather
> than "git.domainsearch-in-resolv.conf"?
it's in .git/config, and it's rather easy to find there.
Jan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: change URL
2009-11-27 11:22 ` Jan Krüger
@ 2009-11-27 15:09 ` Michael J Gruber
0 siblings, 0 replies; 3+ messages in thread
From: Michael J Gruber @ 2009-11-27 15:09 UTC (permalink / raw)
To: Jan Krüger; +Cc: Rakotomandimby Mihamina, git
Jan Krüger venit, vidit, dixit 27.11.2009 12:22:
> Hi,
>
> Rakotomandimby Mihamina <mihamina@gulfsat.mg> wrote:
>
>> When I first cloned a project, I used the non fully qualified hostname
>> if the repo:
>> $ git clone ssh://git/git/Mailaka
>> [...]
>> What should I edit to make "git push" uses "git.rktmb.org" rather
>> than "git.domainsearch-in-resolv.conf"?
>
> it's in .git/config, and it's rather easy to find there.
>
> Jan
:)
git config remote.origin.url ssh://git.rktmb.org/git/Mailaka
Cheers,
Michael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-27 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 9:56 change URL Rakotomandimby Mihamina
2009-11-27 11:22 ` Jan Krüger
2009-11-27 15:09 ` Michael J Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).