It seems like Annoucements are harder to spot than normal threads so here it is, in a thread. Ask question about Git usage or Repo in general.
This is the link to GitHub repository.
https://github.com/razorapid/Reborn-PK3-Content.git (Read/Write)
git://github.com/razorapid/Reborn-PK3-Content.git (Read Only)
Few guidelines:
0. Rule number zero. Always include comment to your commit, and try to make it descriptive
1. Use "devel" branch for development. When your library, or functionality you've been working on is complete, merged it into "master" branch
2. Always update your local repository before you commit any changes
3. Commit only working code
4. If something doesn't work, create an Issue, so someone can take up on fixing this if you won't have time
5. At the end of the day commit all changes, with not working code commented out
Small tutorial:
1. Get the GIT client, I'm using it's portable version. You can get it from here: Portable GIT
2. Once you unpack it. Got to the Git folder, run git-bash.bat file (you can use other but bash like console is more flexible)
3. Type this to set up your name etc. so we can know who made changes and what are those changes:
4. Now create a folder for your repositiories (in this example, inside of Git Portable folder):Code:$ git config --global user.name "Your name" $ git config --global user.email "Your email"
5. Go to that folder: (you can press TAB to autocomplete)Code:mkdir repositiories
6. Now clone the repository:Code:cd repositories
You will be asked for login and password, you have to register on GitHub and create an accountCode:git clone https://github.com/razorapid/Reborn-PK3-Content.git
7. You have the repo on your HDD. Now you can make changes to it.
8. Move to devel branch by typing:
9. WithCode:git checkout devel
you can check in which branch you are currently working, and other available branches.Code:git branch
Standard workflow is like this:
* You make changes
* git pull -> do this before every commit to make sure you are up-to-date and to reduce the possibility of conflicts
* git add * -> adds any new files you put in the folder to repository revision control
* git commit -m "Commit comment" -> this commits changes to local git repo
* git push -> pushes the changes from local git repo to the server
More detailed tutorial here:
http://learn.github.com/p/intro.html