Git: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Git is a revision control system developed by Linus Torvalds, the creator of Linux.  The latest unstable/work-in-progress/between-release [[MegaZeux]] source code is kept in a git repository that can be found [https://github.com/AliceLR/megazeux here].
Git is a revision control system developed by Linus Torvalds, the creator of Linux.  The latest unstable/work-in-progress/between-release [[MegaZeux]] source code is kept in a git repository that can be found [https://github.com/AliceLR/megazeux here].


==Installation==
==Windows==
===Windows===
===Installation===
Git is best used on Windows via [http://msysgit.github.com/ msysgit], which includes a posix-style terminal called msys and a copy of mingw32.  Once msysgit is installed, Git may be used by starting msys and typing "git [command]".
Git is best used on Windows via [http://msysgit.github.com/ msysgit], which includes a posix-style terminal called msys and a copy of mingw32.  Once msysgit is installed, Git may be used by starting msys and typing "git [command]".


===Mac OS X===
===Setting up a development folder===
Make a directory in the msys root called "megazeux" and extract the [http://mzx.devzero.co.uk/docs/mingw32.zip mingw32] or [http://mzx.devzero.co.uk/docs/mingw64.zip mingw64] dependency package directly into it, which should create a folder called "bin".
 
cd /megazeux
mkdir src
cat "HOME=\"/megazeux\"\nPATH=\"$PATH:$HOME/bin/mingw32/bin\"\n" >> /etc/.bash_profile
. /etc/.bash_profile
git pull git@github.com/[YourRepository]/megazeux.git src
 
cd /megazeux/src
./config.sh --platform mingw[32|64] --prefix $HOME/bin/mingw32
make
 
==Mac OS X==
TBA
TBA


===Linux===
==Linux==
===Installation===
  sudo apt-get install git
  sudo apt-get install git
===Setting up a development folder===
mkdir ~/mzxdev
cd ~/mzxdev
git pull git@github.com/[YourRepository]/megazeux.git .

Revision as of 22:48, 17 December 2012

Git is a revision control system developed by Linus Torvalds, the creator of Linux. The latest unstable/work-in-progress/between-release MegaZeux source code is kept in a git repository that can be found here.

Windows

Installation

Git is best used on Windows via msysgit, which includes a posix-style terminal called msys and a copy of mingw32. Once msysgit is installed, Git may be used by starting msys and typing "git [command]".

Setting up a development folder

Make a directory in the msys root called "megazeux" and extract the mingw32 or mingw64 dependency package directly into it, which should create a folder called "bin".

cd /megazeux
mkdir src
cat "HOME=\"/megazeux\"\nPATH=\"$PATH:$HOME/bin/mingw32/bin\"\n" >> /etc/.bash_profile
. /etc/.bash_profile
git pull git@github.com/[YourRepository]/megazeux.git src
cd /megazeux/src
./config.sh --platform mingw[32|64] --prefix $HOME/bin/mingw32
make

Mac OS X

TBA

Linux

Installation

sudo apt-get install git

Setting up a development folder

mkdir ~/mzxdev
cd ~/mzxdev
git pull git@github.com/[YourRepository]/megazeux.git .