Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2013, 12:30 PM
Weldarr
Sarnak
 
Join Date: Oct 2005
Posts: 45
Default

Some Additional Pointers after spending a little bit of time trying to figure out the Git stuff:


Windows:
1) Download Git Client: http://code.google.com/p/msysgit/dow...r+official+git
a. The only thing you may want to change in the installation is the context menu. I set mine to not install a context menu because I intended to use TortoiseGit instead (Steps below)

2) Download TortoiseGit: http://code.google.com/p/tortoisegit/wiki/Download
a. Nothing fancy to do here, just simply go through the installation steps.
3) Accessing EQEmu Source:
a. Make a new folder wherever you want the source to be save to.
b. Right click on that folder and you should now have TortioseGit options.
c. Select Git Clone...



d. Type in the EQEmu Source Github address (seen in the picture)



e. Click Ok and it will pull the source.
3) How to update to latest revision (How to Pull):
a. Right click on Server Folder and go to Git Sync.
b. On the far left side of screen you will see a button that says Pull with a drop down menu. Click on the Pull button and it will update your code to the latest version.


4) How to Commit changes (How to Push):
a. You need to have access granted as a developer to commit changes.
b. Right click on the Server Folder and go to Git Sync.
c. In the middle of the screen you will see a button that says Push with a drop down menu. Click on the Push button and it will push your changes to the source.
**Note** I'm not 100% sure on the Push/Pull commands. It seems to be how they work, but I've never used Git before so this is all kind of new to me and I haven't had a chance to test it out yet.

Hope it helps alleviate some confusion that anyone may be having with the migration to GitHub.

- Vaion
Reply With Quote
  #2  
Old 02-19-2013, 02:34 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Some more cool git commands

Git Stash: Git stash allows you to stash any changes you have made to the working set so you can get back to a clean state. From here you could pull from the main repo to get up to date and then pull your stash back in

Code:
$ git stash
$ git stash list # view a list of whats on the stash
$ git stash apply # reapply the most recent stash
And another cool thing you can do is create a branch from the stash

Code:
$ git stash branch MyBranch
To push the branch to the remote repo

Code:
$ git push origin MyBranch
And to delete the remote branch

Code:
$ git push origin :MyBranch
$ git branch -d MyBranch # delete the branch locally as well
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:57 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3