threads / discuss / 18086

Problem in pushing git

Subject: Problem in pushing git

## tl;dr

5 messages between Mar 2, 2009 and Aug 16, 2010.

replies: 4people: 4as markdown or json

Lahiru Perera· Mar 2, 2009, 07:31 UTC · lore

Hi Im Lahiru im very new to git...Im using linux mint and i have problem using git...

1. I have a server and i create a new repo on it..buy this command
 #mkdir test.git
 #cd test.git
 #vi lahiru "add a line in it"
 # git add .
 # git commit -m"first git"
2. And i went to a client and i clone the project..
 #git clone ssh://user@mydomain.com
 #cd test
 #edit  file"lahiru"
 #vi poojitha "add a line to poojitha"
 #git add .
 #git commit -m"add a line on lahiru"
 #git push origin master

all these i showed to u is the way i have created, clone and push the repo's.. my problem is when i finishing the pushing part the changer's are not save on the main repo means on the server if i typed it showed is as delete line...."git status"

y is this not saving?
 git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#    modified:   lahiru
#    deleted:    poojitha
Im finding a solution from last few month

Thks Lahiru.

-- 
Lahiru Perera
System Administrator
Providence Network & Solutions (Pvt) Ltd.
No. 752/1, Dr.Danister De Silva Mawatha,
Colombo 09,
Sri Lanka.

Phones (work)	= +94 11 2698232, +94 11 5749575
Fax		= +94 11 2698232
E-mail 		= lahiru@providencesl.com
Web Page	= www.providencesl.com
Skype		= lahirucom
google		= lahirucom
yahoo		= malinban
Sverre Rabbelier· Mar 2, 2009, 07:51 UTC · re: Lahiru Perera · lore

Re: Problem in pushing git

Heya,
On Mon, Mar 2, 2009 at 08:31, Lahiru Perera <lahiru@providencesl.com> wrote:
> Im finding a solution from last few month

I'm glad to hear that you've been trying to find the solution yourself, but why did you not look at the faq [0]? The exact same question you asked has been answered there (see [0]).

[0] http://git.or.cz/gitwiki/GitFaq#head-b96f48bc9c925074be9f95c0fce69bcece5f6e73
-- 
Cheers,

Sverre Rabbelier
Bruno Furtado· Aug 16, 2010, 15:55 UTC · re: Lahiru Perera · lore

Re: Problem in pushing git

Hi Lahiru,
can you put the solution here?

I'm have the same problem. I didn't found this solution in https://git.wiki.kernel.org/index.php/GitFaq Git FAQ

best regards,
Bruno Furtado
LinkedIn: http://linkd.in/brunofurtado
MSN: brunoffurtado@hotmail.com
Skype: bruno_furtado
-- 
View this message in context: http://git.661346.n2.nabble.com/Problem-in-pushing-git-tp2407919p5428361.html
Sent from the git mailing list archive at Nabble.com.
Junio C Hamano· Aug 16, 2010, 16:30 UTC · re: Bruno Furtado · lore

Re: Problem in pushing git

Bruno Furtado <brunofurtado@brunofurtado.net> writes:
> I'm have the same problem. I didn't found this solution in 
> https://git.wiki.kernel.org/index.php/GitFaq Git FAQ 
I wonder if this is what you two are talking about...
https://git.wiki.kernel.org/index.php/GitFaq#Why_won.27t_I_see_changes_in_the_remote_repo_after_.22git_push.22.3F
Bruno Furtado· Aug 16, 2010, 17:52 UTC · re: Junio C Hamano · lore

Re: Problem in pushing git

Exactly!!!
Now it's all right.
Thanks Junio
-- 
View this message in context: http://git.661346.n2.nabble.com/Problem-in-pushing-git-tp2407919p5428831.html
Sent from the git mailing list archive at Nabble.com.

← back to recent threads