Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • Sign in to follow this  

    A basic Git Tutorial


    antz

    Generic Resources about Git

    All about Git - official page

    Some good video talks about http:

    A good book of the subject:

    Install Git

    On Windows

    Install MySysGit (Be sure to check the install with "Git bash here" support)

    On Linux

    Use your package manager to install git.

    Basic Functions

    Cloning a repo to your hard drive

    The most basic form of this command is:

    $ git clone --recursive http://github.com/{username}/{reponame}
    1.  

    A slightly better form is to specify the folder name of the local repo:

    $ git clone --recursive http://github.com/{username}/{reponame} {localreponame}

    In the case of mangosZero this would be a valid command to clone it correctly to a folder called 0server

    $ git clone --recursive http://github.com/mangoszero/server serverZero

    Sometimes you may want to clone a specific branch i.e. develop21

    $ git clone --recursive http://github.com/{username}/{reponame} -b develop21 {localreponame}

    Updating an existing repo with the latest source

    From the folder containing the source, type:

    $ git pull --recurse-submodules

    This will pull in all updated files, you can then proceed to build using Visual Studio or cmake/make on Linux.

    Sign in to follow this  


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use