1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Commit to Git from VS 13

Discussion in 'General Discussion' started by m309, Dec 2, 2013.

  1. m309
    Offline

    Admin Moderator ServUO Developer

    Joined:
    Mar 3, 2013
    Messages:
    1,243
    Likes Received:
    130
    I'm not sure if anyone noticed, or if anyone here is using VS 13 yet, BUT. You can commit your code changes to Git directly from the VS Solution Explorer pane. (This may in fact have been in earlier editions of VS too, but I never noticed it if it was)

    - Simply click the "Pending Changes Filter" button at the top toolbar in the Solution Explorer
    - Right click on a pending edited file, choose Commit from the dropdown that opens
    - Select "Include All" from the Excluded Changes dropdown in view.
    - Enter your commit message in the highlighted yellow box (this is required)
    - Select which branch you'd like to commit to, it is by default set to your master if your VS solution files are located within the same directory as your git repo
    - Click the Commit button
    - X out of the "Team Explorer - Changes"
    - Proceed with coding your awesome shard
     
    • Informative Informative x 1
Similar Threads: Commit Git
Forum Title Date
Discussion XmlSpawner new commits Apr 17, 2014
General Discussion GitHub issue - not showing date of last edit May 8, 2017
The Back Room Git issues behind firewall(?) Mar 25, 2017
Documentation How to make a good pull request at github Mar 8, 2017
ServUO Discussion How to contribute, to servuo, using github Jan 16, 2017
ServUO Discussion Git checkout in VS has many missing files and functions? Oct 30, 2016
Script Support git hub merging May 7, 2016