News! (HOW DO YOU USE GIT)

Post Reply
User avatar
KittyCakes
Member
Posts: 41
Joined: Tue Aug 30, 2016 21:10

News! (HOW DO YOU USE GIT)

by KittyCakes » Post

I have GitHub now!!!!!!!!!!!!!! So I don't really know how to use it. I really wanna know how to make a mod with it. So please tell me about GitHub. My username on it is CandyKitty.

User avatar
Wuzzy
Member
Posts: 4804
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: News! (HOW DO YOU USE GIT)

by Wuzzy » Post

Well, I suggest you first read through the help pages of GitHub. Here's a starting point:
https://help.github.com/articles/set-up ... atform-all

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

Re: News! (HOW DO YOU USE GIT)

by srifqi » Post

KittyCakes wrote:I have GitHub now!!!!!!!!!!!!!! So I don't really know how to use it. I really wanna know how to make a mod with it. So please tell me about GitHub. My username on it is CandyKitty.
GitHub is a place to share and collaborate your work (i.e. mod)

In order to make a mod, you have to learn the basic knowledge of Minetest Modding, or by watching the code from other simple mods.

Good luck!
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
taikedz
Member
Posts: 698
Joined: Sun May 15, 2016 11:11
GitHub: taikedz
IRC: DuCake
In-game: DuCake
Location: Scotland, UK
Contact:

Re: News! (HOW DO YOU USE GIT)

by taikedz » Post

Congratulations - hopefully you will find your joy in modding for Minetest :-)

srifqi's link is very relevant; I find myself going to the methods page a lot: http://dev.minetest.net/Category:Methods

Dunno if the MT forums are normally an appropriate place for asking about github questions specifically... maybe you might find some place for discussion on this topic in the Offtopic forum? I'll keep an eye out for you if so.

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: News! (HOW DO YOU USE GIT)

by paramat » Post

In the Github help section there's a 'Bootcamp' that guides you clearly through all the steps, it's how i learnt.

User avatar
taikedz
Member
Posts: 698
Joined: Sun May 15, 2016 11:11
GitHub: taikedz
IRC: DuCake
In-game: DuCake
Location: Scotland, UK
Contact:

Re: News! (HOW DO YOU USE GIT)

by taikedz » Post

Referencing paramat's response:

https://help.github.com/categories/bootcamp/

I'd recommend the git book manual's basics pages too https://git-scm.com/book/en/v1/Git-Basics

There's a "Chapter" menu in small letters above the text area. The areas you are likely interested in are chapters 2 and 3 to start off with.

User avatar
taikedz
Member
Posts: 698
Joined: Sun May 15, 2016 11:11
GitHub: taikedz
IRC: DuCake
In-game: DuCake
Location: Scotland, UK
Contact:

Re: News! (HOW DO YOU USE GIT)

by taikedz » Post


User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: News! (HOW DO YOU USE GIT)

by Milan* » Post

Your base commands are:

Code: Select all

git clone https://cloneurl
git add my/file.lua
git commit -m "added my awesome changes"
git push
# typo but not yet pushed?
git commit --amend
# temporally revert changes
git stash
# show stashed changes
git show stash
# apply stashed changes
git stash apply
# get a commit from the original mod you forked or from another fork
git fetch https://origin/url
git cherry-pick 21a3123s1212d313f # (the hash of the commit)
# bring forked mod with less changes simply up to date (this method also works with other forks, thats why i note it this way
git pull https://wanted/repo
# reset your mod completly, even commits
git reset --hard HEAD
# reset your mod to a specific upstream commit
git reset (hard?) 21a3123s1212d313f # (the hash of the commit)
Edit: better formatted cheat cheet just created here

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: News! (HOW DO YOU USE GIT)

by rubenwardy » Post

The best way to learn how to mod is through this book: http://rubenwardy.com/minetest_modding_book/
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

PinkCat
Member
Posts: 25
Joined: Fri May 19, 2017 11:33

Re: News! (HOW DO YOU USE GIT)

by PinkCat » Post

Hey. This is my new account guys. I forget the password for other and just decided to make new. NEWS: I know how to use GitHub now!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: News! (HOW DO YOU USE GIT)

by azekill_DIABLO » Post

you know there is a "forgot password" button? that for guys who forgets there pass. (me)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: News! (HOW DO YOU USE GIT)

by BBmine » Post

azekill_DIABLO wrote:you know there is a "forgot password" button? that for guys who forgets there pass. (me)
IKR

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: News! (HOW DO YOU USE GIT)

by BBmine » Post

Also, I don't see how this is news :?

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: News! (HOW DO YOU USE GIT)

by Milan* » Post

BBmine, your signature is offensive enough that i just react in this thread:

1. red hurt's eyes
2. the worst thing you can do is creating a forum without any TLS setup. Fix this.

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: News! (HOW DO YOU USE GIT)

by BBmine » Post

Milan* wrote:BBmine, your signature is offensive enough that i just react in this thread:

1. red hurt's eyes
2. the worst thing you can do is creating a forum without any TLS setup. Fix this.
Ok, I'll change it.
I can't help the fact it's http :P

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: News! (HOW DO YOU USE GIT)

by MineYoshi » Post

Milan* wrote: 2. the worst thing you can do is creating a forum without any TLS setup. Fix this.
I don't find any reason for anybody to just waste time trying to hack an account from a forum only related to shitposting. The prize is not worth the time.

Also, OP if you'd have your question answered please put "[Solved]" in the title, thanks.
Have a nice day! :D

Post Reply

Who is online

Users browsing this forum: Melkor and 21 guests