Hello There, Guest!
View New Posts  |  View Today's Posts
Who uses version control (git, subversion, etc)?

  • 0 Vote(s) - 0 Average


08-01-2014, 08:57 AM #1
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

Who uses version control (git, subversion, etc)?
I've tried to use subversion in the past and felt it was alright. I just recently decided to try Git since it is integrated into Visual Studio pretty well. I will admit though, I am fairly new to the whole version control scene and don't understand all of the features. Is it common practice to commit single files and comment each individually? Or should you commit all with a generic comment? These are things I'm not aware of at the moment, but I'm sure as I use it and read more they will come.

I started a project over at http://bitbucket.org and I really like the interface. It's a private project due to it being used for a Windows Phone application. I've only made two commits so far I'm anxious to see how easy it is to see progress or look back at old version of the files.

Any discussion is welcome here!

08-01-2014, 10:09 AM #2
Null
Moderator
*****
Moderators
Posts: 130 Threads:23 Joined: Feb 2012 Reputation: 4

RE: Who uses version control (git, subversion, etc)?
I use Git almost every day.

(08-01-2014, 08:57 AM)KoBE Wrote:  Is it common practice to commit single files and comment each individually?

When you are working on your own, commit when you have completed a unit of work that you want to backup and document. Sort of like a checkpoint in a game you know - a point in the code that you might want to return to when things go wrong. I would say that neither the breadth nor the volume of the change really matters although populous commits could be an indication that you are not committing frequently enough imo.
This post was last modified: 08-01-2014, 10:29 AM by Null.

08-01-2014, 10:44 AM #3
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Who uses version control (git, subversion, etc)?
I did do some reading up on Git and I think staging sort of answers my question.

Say for instance, I have a class and two forms that use this one specific class.. I can commit all of those changes separately from the changes I did on other forms/classes that don't apply to that commit.

From what I'm getting from the little reading I've done, you can 'git' in whichever way you want. If you want to make mass commits as checkpoints like you mention, there's that way. Or you can commit incrementally depending on the work you've done.

08-01-2014, 10:54 AM #4
Null
Moderator
*****
Moderators
Posts: 130 Threads:23 Joined: Feb 2012 Reputation: 4

RE: Who uses version control (git, subversion, etc)?
(08-01-2014, 10:44 AM)KoBE Wrote:  I think staging sort of answers my question.

Right. You can stage (git add) any number of modified/added files before checking in (git commit).

(08-01-2014, 10:44 AM)KoBE Wrote:  You can 'git' in whichever way you want.

By all means mate, adopt a workflow that makes your life easier. That is the point after all.

Hopefully you will set-up tent at GitHub so I can check out your projects and who knows, maybe we could collaborate :)
This post was last modified: 08-01-2014, 10:58 AM by Null.

08-01-2014, 01:40 PM #5
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Who uses version control (git, subversion, etc)?
(08-01-2014, 10:54 AM)ByteBlast Wrote:  Hopefully you will set-up tent at GitHub so I can check out your projects and who knows, maybe we could collaborate :)

Well, I decided to jump on GitHub to test it out. I put my IrcClient on there for now. I think I'll port it to VB and have separate repository for that.

Here's my first repo: https://github.com/cshivers/IrcClient-csharp

08-01-2014, 02:31 PM #6
Louis
Master of the IRCs!
**
Posts: 153 Threads:23 Joined: May 2012 Reputation: 11

RE: Who uses version control (git, subversion, etc)?
I've used/use both bitbucket as well as GitHub. Bitbucket is fantastic if you want to do private repos, but GitHub (in my opinion) is better when doing anything public especially if you're working with other people. GitHub provides a lot of awesome features, such as GitHub Pages, an awesome API, and even bug reporting for your repos + many more. Also people tend to look at GitHub when hiring people.

https://github.com/LouisT/

08-01-2014, 09:37 PM #7
Null
Moderator
*****
Moderators
Posts: 130 Threads:23 Joined: Feb 2012 Reputation: 4

RE: Who uses version control (git, subversion, etc)?
Followed you both.

Kobe, would you be interested in a code review?

08-01-2014, 11:04 PM #8
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Who uses version control (git, subversion, etc)?
As in going over my code? Or me checking out yours?

08-01-2014, 11:53 PM #9
Null
Moderator
*****
Moderators
Posts: 130 Threads:23 Joined: Feb 2012 Reputation: 4

RE: Who uses version control (git, subversion, etc)?
(08-01-2014, 11:04 PM)KoBE Wrote:  As in going over my code? Or me checking out yours?

Originally I thought to review your IRC client code but yeah, I would not object to you flicking through my projects and highlighting any issues that I might have overlooked.
This post was last modified: 08-02-2014, 12:01 AM by Null.

08-02-2014, 09:58 AM #10
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Who uses version control (git, subversion, etc)?
That'd be great if you wanted to go through the IrcClient code. I know there are some areas that need cleaned up. It'd probably be a good idea to do before starting on a VB port like I planned on doing. Heck I first wrote it over 2.5 years ago. It could definitely use some tidyness.




Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
  Version Control System - Bazaar AceInfinity 0 971 04-28-2013, 02:20 AM
Last Post: AceInfinity
  What version control system are you using ? xyv123 6 3,512 03-10-2013, 12:50 AM
Last Post: Lee Stevens
   TLF BlackHole Desktop Gadget [Current Version: v1.0.2.0] AceInfinity 8 5,048 02-16-2012, 01:40 AM
Last Post: M0nst3rVip
  Get PowerShell Version AceInfinity 0 1,504 08-21-2011, 01:05 PM
Last Post: AceInfinity


Users browsing this thread: 1 Guest(s)