Topic: Move Widelands to GitHub
hessenfarmer |
Posted at: 2019-09-13, 22:44
Sorry I tried to setup an environment with git and tortoise git gui. But I don't understand how to setup branches, how to check them out, or download them. I think git is much more complicated then bazaar. So if I can't find out I need to stay down from contributing. Top Quote |
niektory |
Posted at: 2019-09-14, 00:56
This free book helped me get the hang of Git, maybe it'll help you too. IIRC I briefly tried TortoiseGit too but ended up with just the command line in the end. Top Quote |
GunChleoc Topic Opener |
Posted at: 2019-09-14, 09:10
Have you followed the instructions in Gitprimer? At which point did you stop understanding them? Git has a masive amount of features, but you will only need a few of them to get started. And definitely get a GUI client. For Windows, I have some experience with TortoiseGit and can help you with instructions there. I see that you have already creted a fork, so I recommend that you do your work there first until you become familiar with the process. Maybe also start with a smaller project - I have just pushed an incomplete brlancing branch that you could continue working on https://github.com/widelands/widelands/tree/balancing-201908 for changes proposed in https://www.widelands.org/forum/topic/4589/ ETA: I am tracking the migrated branches in the first post of this thread. On the command line, you would:
Do your changes, then
I always find the Edited: 2019-09-14, 09:17
Busy indexing nil values Top Quote |
GunChleoc Topic Opener |
Posted at: 2019-09-14, 11:17
I have made a pull request for our update.sh script https://github.com/widelands/widelands/pull/3476 Busy indexing nil values Top Quote |
Nordfriese |
Posted at: 2019-09-14, 14:09
By the way, if you didn´t add new files and want to commit all changes, it´s a bit faster to skip Top Quote |
Nordfriese |
Posted at: 2019-09-14, 16:58
A question about our branch ownership policy. Edited: 2019-09-14, 16:59
Top Quote |
GunChleoc Topic Opener |
Posted at: 2019-09-14, 18:36
Since we don't have an established work flow yet anyway, I will not be strict about where you put your branch. I still recommend using a fork though if you're new to git. If you want to move an existing branch to your own repo, I think it's best if we delete it from the official repo so that we'll know which one is the current branch.
Thanks, I have added that to the instructions. Edited: 2019-09-14, 18:37
Busy indexing nil values Top Quote |
GunChleoc Topic Opener |
Posted at: 2019-09-14, 20:14
I can also imagine the following workflow:
Busy indexing nil values Top Quote |
kaputtnik |
Posted at: 2019-09-14, 20:14
Is there a way to make downloading a specific branch a bit faster? I'have cloned widelands master which lasts round about 25 Minutes (with a very fast internet connection). And now i wanted to test your branch at https://github.com/gunchleoc/widelands/tree/update-script and ran
but it seems the download last also about 25 minutes... Maybe i am doing something wrong? Edited: 2019-09-14, 20:15
Top Quote |
Nordfriese |
Posted at: 2019-09-14, 20:33
What I do to download a branch:
Not entirely sure if this works with forks as well though Top Quote |