SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2012
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    VCS/Git Confusion?

    Hey all, I was reading an article about using a vcs vs. ftp. It all makes sense to start having a VCS, but im just sort of confused about the concept and getting started with it. Could someone give a sort of example of a workflow that includes developing and deploying using a VCS and github?

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    8,895
    Mentioned
    138 Post(s)
    Tagged
    2 Thread(s)
    Indeed it can be quite confusing at first. This is a nice site that explains it: http://nakedstartup.com/2010/04/simp...y-git-workflow

    I can also recommend the Pro Git book for a thorough understanding of Git. You can read this book for free online.
    Rémon - Hosting Advisor

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2012
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! That helped me getting started...sorta.
    I'm really trying to figure this out, but i dont really understand the process of sycing things with Github.
    I load up Git and enter
    Code:
    git init [projectname]
    then i change the directory
    This makes a folder that i'm supposed to edit to put on github right?
    I want to sync my existing project to github. So i drag my project folder onto the new one that i created with the init command.
    Then in the bash, i enter
    Code:
    git add [foldername]
    and then i check it with
    Code:
    git status
    I then enter
    Code:
    git commit
    and the window turns into a vim editor and i have no idea what i'm doing!
    Could i get some help please?

  4. #4
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,048
    Mentioned
    16 Post(s)
    Tagged
    3 Thread(s)
    I highly recommend reading this:

    http://www.sbf5.com/~cduan/technical/git/
    The only code I hate more than my own is everyone else's.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •