pull

How do I hook a git pull on the remote?

Is there a way to hook when a git pull happens on the remote (similar to a pre-receive or post-receive). Basically I'd like to be able to cause the remote to commit whatever it has when there is a pull. In my situation, whatever is live on the remote is an authoritative source which may get modified without a git commit. I want to mak...

WCF - Compact Framework - Pull data from mobile client

Hello guys, I want to communicate xml serialized objects from the server to the client and the other way arround. Now it is (probably) easy to invoke methods from a mobile client (compact framework) using WCF, but is there a way so that the server can invoke methods on the client side or some other way to pull data from the client? I kno...

What does it mean when git pull causes a conflict but git pull --rebase doesn't?

I'm pulling from a repository that only I have access to. As far as I know, I've only pushed to it from one repository. A couple of times, I've tried pushing to it and gotten this: To [email protected]:tsched_dev.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to '[email protected]:ts...

Is WSDLpull supports https request?

Is WSDLpull supports https request? ...

Why does git pull --rebase fail when replaying existing commits?

I don't get this: when I 'git pull --rebase remote branch' it reverts my HEAD back to their shared root and then starts replaying all of the remote commits that have happened in the meantime. Why do these commits sometimes fail? They are clean commits on a clean workspace? Isn't that almost the point of rebasing? ...

With git how can i merge a repository that has already been merged?

I have a repository that i pulled the changes for, so now it is up to date with the remote repository. Except that now i realized that i needed to pull all of that repositories changes and keep none of mine. I want to go back in history so that i won't get an "Already up-to-date" when i pull. Also part two, how can i pull and get all of ...

Git Merge - Incomplete, Missing files and Folders

I was trying to merge a dev branch into master. git checkout master git pull . dev Everything seemed to go well, although there were conflicts I fixed these and commited. But when I checked this newly merged working tree is missing a lot of folders and files from dev. git status // Shows conflicts & doesn't list some files/folde...

I'm trying to create a script with php

I'm trying to create a script using php that will pull data from various sections of a website and place the date in one easy to read location. I need it to be able to read the page and pull fresh data as it comes in and I also need it to be able to take data off of the page it sends it to after I click on it and refresh the page. The da...

Android: I need to prepare the UI from the webservice

Hello!! I am a newbie to Android and playing around with the UI and SQLLite for a while and it looks pretty good to me . We have a requirement that for the App that all the questions would be coming from the server through REST / Web service which would be displayed on the App.. say for e.g if there are 4 questions 1) Enter your Name ...

What is the difference between pull and clone in git?

What is the difference between doing: mkdir repo cd repo git init git remote add origin git://github.com/cmcculloh/repo.git git fetch --all git pull origin master and git clone git://github.com/cmcculloh/repo.git I mean, obviously one is shorter, but other than that are they basically doing the same thing? ...

Replication with pull subscribers fails under Active Directory policy when using a dedicated replication account

I have a replication set up with pull subscribers and it's deployed in our corporate domain. I have requested to create a dedicated account to run this replication off of. On a pull subscription client in Sql Agent job I get this error: Message Unable to start execution of step 1 (reason: Error authenticating proxy DOMAIN\username, sys...

How can I push/pull an individual changeset between repositories in Mercurial?

I have the following situation: I have site A, which has it's Mercurial repo, and we've been developing it for a while. Let's say A has had 5 revisions. We now has to create Site B, which is almost identical to site A, except for graphical design, mostly. So I cloned the repo, started site B, and now B's repo has all of A's history, pl...

Git pull should ignore commits in unwanted branches

I'm using two local repositories/working trees for our project development: one for the release version (bug-fixes only) and one for the continuing development in the master. Hence I don't need to switch between branches back and forth. We only merge changes from the release branch to the master, but not the opposite. Is it possib...

Where does git store information about the origin of a repository

I have a repository that I cloned from someplace a few months back and I'd really like to know where it came from. A 'git pull' returns successfully and tells me everything is up to date, but I'd really like to know where its checking. I've looked in the usual suspects in the .git folder, but can't see anything obvious. Anyone know wher...

PHP / Mongo: how do you update nested data?

I've been playing around with Mongo for about a week now and I still can't work out how to modify nested arrays in Mongo with php. So here is a sample document... array ( '_id' => new MongoId("4cb30f560107ae9813000000"), 'email' => '[email protected]', 'firstname' => 'Maurice', 'lastname' => 'Campobasso', 'password' =...

Git pull into wrong branch

Myself and one other developer had been merging and pushing our work to a non-master branch called toolwork. That way, we didn't impact the rest of the team. My topic branch was called DPM-93 and my git workflow was this. # do some work git checkout DPM-93 git commit -m "did some work" # catch up git checkout toolwork git pull origin t...

How to get back modified file after git checkout and git pull?

I've modified a file, then I want to get latest version from remote. So I run git checkout to revert the file, and run git pull to get latest version. After that, I found that I need the modification of the file. Is it possible to get it back? Thanks! ...

Git pull or Git clone not working after trying to make heroku repository

Here is the error remote: warning: suboptimal pack - out of memory error: git upload-pack: git-pack-objects died with error.remote: fatal: Out of memory, malloc failed fatal: git upload-pack: aborting due to possible repository corruption on the remote side.remote: aborting due to possible repository corruption on the remote side. ...

MongoDB pull array element from a collection

Hi, I have a mongodb object as follows: array ( '_id' => new MongoId("4cc97fb0247ae8747ec5fefb"), 'posts' => array ( 0 => array ( 'comment' => 'Eamorr', 'fromUname' => 'Eamorr', 'time' => 1288273840, 'UTC' => '2010-10-28T14:50:40+01:00', 'ip' => '127.0.0.1', 'id' => '123lasdfiqwoei28a...