Development > Newbie Coding
The GIT problem
Muton:
fix-base ???
Mattn:
http://tron.homeunix.org/zeug/git-fixbase
MCR:
--- Quote from: Muton on October 24, 2010, 04:05:33 pm ---How to push to origin master ???
--- Code: (sh) ---$ git commit --author="Muton <mutonufoai@users.sourceforge.net>" -m "* data.mk fixes (do not use 7z)" -v -i build/data.mk
$ git log -1
commit 7a0c75e6f2d861552f489855c14ef9d71d56fb52
Author: Muton <mutonufoai@users.sourceforge.net>
Date: Sun Oct 24 15:42:19 2010 +0200
* data.mk fixes (do not use 7z)
$ git push --dry-run -v origin 7a0c75e6f2d861552f489855c14ef9d71d56fb52:master
Pushing to git://ufoai.git.sourceforge.net/gitroot/ufoai/ufoai
fatal: The remote end hung up unexpectedly
--- End code ---
--- End quote ---
I had the same error the last time I tried to push stuff via git (quite a while ago already)...
If you manage to fix pushing stuff, it would be nice if you could explain how exactly you fixed it, so others (me) could set up git under win correctly also...
Muton:
There is now way to push with git directly (read only)
you need to use ssh
use this command
git remote set-url --push origin ssh://USER@ufoai.git.sourceforge.net/gitroot/ufoai/ufoai
USER = your sourceforge username
like mutonufoai
If you use MSYSgit you already have everything you need
I've added this into our mingw environment too
Btw. ssh.exe will hang inside of mintty.exe or rxvt.exe, because there is no ssh output shown
added a small script to work around that
The result is this
....
Total 4 (delta 3), reused 0 (delta 0)
Pushing denied. Please contact mattn or tron to unlock you. (You are mutonufoai.)
....
ManicMiner:
I'm still completely bamboozled by GIT, I'm afraid. I'm using 1.7.3.1 on Vista x64.
I've had several large internet pipes at my disposal recently and have attempted to update the source a couple of times but now nothing's downloading when I check for updates.
This is driving me absolutely insane. I'm still playing the last compiled version from Muton's script because for me it's still more playable than the precompiled builds since then (I was using optimized settings for my machine and it doesn't seem as happy with the default build options).
I'm willing to give GIT one more shot IF someone can give me a very straightforward set of noddy instructions on how to use GIT to do what I was doing before... which was a bog-standard update from source, then recompile.
(See attached screenshot)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version