pepe wrote: > Thank you to all of you. > > I have been reading up about different tools and I was leaning towards > Git, among other things because of Github, as Robert mentioned. I > don't know much about the tool yet and I know there are 2 sides to it, > the shell screen and the GUI version. Is the same functionality > available in both areas, which one should I go with? >
Git syntax for everyday tasks is so simple it really does not warrant a GUI. Looking at past branches and merges, well there a gui like gitk has real value. Create a new repository: $ git init Add files to stage: $ git add <directory or filename> Commit staged files to repository: $ git commit -m"commit message" Copy a repository: $ git clone [<protocol>://]<path/to/source/repository> </path/to/clone> Update and merge from a remote repository: $ git pull <protocol>://</path/to/source/on/remote> Update local commits to remote: $ git push Check local against remote: $ git fetch Look at local changes against remote $ git diff Unwind a local commit and preserve subsequent work: $ git reset --merge Abandon all local changes and reset to remote: $ git fetch; git status; git pull #all steps required in that order to place index in known state Ignore files and directories: $ vi .gitignore The rest of it, and there is a great deal of material in the rest of it, is rarely used. The supported protocols are git://, ssh:// and http(s)://. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

