2013-11-24 23:26:32 -08:00
|
|
|
mkdir mtclient
|
|
|
|
cd mtclient
|
|
|
|
git init
|
|
|
|
touch omnistudent_notes.txt
|
|
|
|
git add omnistudent_notes.txt
|
|
|
|
git commit -m "first commit, adding omnistudent_notes.txt"
|
|
|
|
git remote add origin https://github.com/Omnistudent/mtclient.git
|
|
|
|
git push origin master
|
|
|
|
|
2013-11-24 23:28:40 -08:00
|
|
|
add these changes:
|
|
|
|
git add omnistudent_notes.txt
|
|
|
|
git commit -m "second commit, changing omnistudent_notes.txt"
|
|
|
|
git push origin master
|
|
|
|
|
2013-11-24 23:38:56 -08:00
|
|
|
download
|
|
|
|
minetest-master.zip
|
|
|
|
minetest_game-master.zip
|
|
|
|
to mtclient
|
|
|
|
|
|
|
|
unzip minetest-master.zip
|
|
|
|
mv minetest_game-master.zip minetest-master/games
|
|
|
|
cd minetest-master/games
|
|
|
|
unzip minetest_game-master.zip
|
|
|
|
mv minetest_game-master minetest_game
|
|
|
|
rm minetest_game-master.zip
|
|
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
rm minetest-master.zip
|
|
|
|
// disable line checking, see http://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf
|
|
|
|
git config core.autocrlf false
|
|
|
|
|
2013-11-24 23:57:03 -08:00
|
|
|
git add .
|
|
|
|
git add omnistudent_notes.txt
|
|
|
|
git commit -m "FIRST REAL COMMIT, containing zipped source and game files"
|
|
|
|
git push origin master
|
|
|
|
// moved all files out of minetest-master and up a directory, deleted minetest-master
|
|
|
|
git add .
|
|
|
|
git commit -m "Second REAL commit, moved minetest-master files up one dir"
|
|
|
|
|
|
|
|
git push origin master
|
|
|
|
|