[racket-dev] Need a little git help
What does "git status" currently tell you?
Carl Eastlund
On Thu, Aug 5, 2010 at 12:42 PM, Jens Axel Søgaard
<jensaxel at soegaard.net> wrote:
> Hi All,
>
> I have implemented a few triangle functions for the 2htdp teachpack
> and want to push the changes.
>
> I get the following:
>
> 80:plt soegaard$ /usr/local/git/bin/git push origin master
> To pltgit:plt
> ! [rejected] master -> master (non-fast-forward)
> error: failed to push some refs to 'pltgit:plt'
> To prevent you from losing history, non-fast-forward updates were rejected
> Merge the remote changes before pushing again. See the 'Note about
> fast-forwards' section of 'git push --help' for details.
>
> It says I should merge, so I try this:
>
> 80:plt soegaard$ /usr/local/git/bin/git merge origin
> error: Your local changes to 'collects/teachpack/triangle-xxx.png'
> would be overwritten by merge. Aborting.
> Please, commit your changes or stash them before you can merge.
>
> The file triangle-xxx.png is one that I added locally.
>
> What shall I do to merge and/or push?
>
> --
> Jens Axel Søgaard
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/dev