Git Confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm new to git and probably doing something very dumb, but I can't
seem to resolve this.

I have a remote repository and a local one. I ssh to the remote
machine, goto the repository directory (not a bare repository), edit a
file and commit it. All if fine.

I leave the remote host and go into the local git directory. Doing
"git pull origin master" says "Already up-to-date." but there is a
file I changed remotely, and I want to pull it locally!

The local repo was made with "git clone http://example.com/.git";. I
have no branching (both are on master).

My way around this, is on the remote server, I do a "git push other
master", and then on the local one I do "git checkout HEAD file1" for
each file. Painful and I'm sure it is wrong.

Any ideas? How do you debug this?

Thanks
Paul
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]