git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Problem in pushing git

From
LPLahiru Perera <lahiru@providencesl.com>
Date
Mar 2, 2009, 07:31 UTC
Message-ID
<49AB8B4F.90006@providencesl.com>

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
Next: Sverre Rabbelier
Message 1 of 5 in “Problem in pushing git”
  1. Lahiru PereraMar 2, 2009
  2. Sverre RabbelierMar 2, 2009
  3. Bruno FurtadoAug 16, 2010
  4. Junio C HamanoAug 16, 2010
  5. Bruno FurtadoAug 16, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.