bash-3.2$ ls bash-3.2$ svn checkout https://subversion.assembla.com/svn/archer-cookbook/ A archer-cookbook/readme.textile A archer-cookbook/tags A archer-cookbook/trunk A archer-cookbook/branches Checked out revision 1. bash-3.2$ ls .svn ls: .svn: No such file or directory bash-3.2$ ls archer-cookbook bash-3.2$ cd archer-cookbook/ bash-3.2$ ls .svn/ entries format pristine/ tmp/ wc.db bash-3.2$ ls .svn/ entries format pristine tmp wc.db bash-3.2$ cd .. bash-3.2$ rm -r archer-cookbook/ bash-3.2$ ls bash-3.2$ pwd /Users/david/repositories/svn bash-3.2$ cd .. bash-3.2$ cd git bash-3.2$ git help usage: git [--version] [--help] [-C ] [-c name=value] [--exec-path[=]] [--html-path] [--man-path] [--info-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=] [--work-tree=] [--namespace=] [] The most commonly used git commands are: add Add file contents to the index bisect Find by binary search the change that introduced a bug branch List, create, or delete branches checkout Checkout a branch or paths to the working tree clone Clone a repository into a new directory commit Record changes to the repository diff Show changes between commits, commit and working tree, etc fetch Download objects and refs from another repository grep Print lines matching a pattern init Create an empty Git repository or reinitialize an existing one log Show commit logs merge Join two or more development histories together mv Move or rename a file, a directory, or a symlink pull Fetch from and integrate with another repository or a local branch push Update remote refs along with associated objects rebase Forward-port local commits to the updated upstream head reset Reset current HEAD to the specified state rm Remove files from the working tree and from the index show Show various types of objects status Show the working tree status tag Create, list, delete or verify a tag object signed with GPG 'git help -a' and 'git help -g' lists available subcommands and some concept guides. See 'git help ' or 'git help ' to read about a specific subcommand or concept. bash-3.2$ git checkout https://github.com/aproeme/archer-git-demo-test.git fatal: Not a git repository (or any of the parent directories): .git bash-3.2$ git clone https://github.com/aproeme/archer-git-demo-test.git Cloning into 'archer-git-demo-test'... warning: You appear to have cloned an empty repository. Checking connectivity... done. bash-3.2$ ls archer-git-demo-test bash-3.2$ cd archer-git-demo-test/ bash-3.2$ ls bash-3.2$ cd .. bash-3.2$ rm -r archer-git-demo-test/ bash-3.2$ git clone https://github.com/aproeme/archer-git-demo-test.git Cloning into 'archer-git-demo-test'... warning: You appear to have cloned an empty repository. Checking connectivity... done. bash-3.2$ cd archer-git-demo-test/ bash-3.2$ ls bash-3.2$ touch file bash-3.2$ echo dsfasdf >file bash-3.2$ cat file dsfasdf bash-3.2$ git add file bash-3.2$ git commit -m "added file" [master (root-commit) 41a9ddc] added file Committer: David Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 file changed, 1 insertion(+) create mode 100644 file bash-3.2$ git push warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior now, use: git config --global push.default simple See 'git help config' and search for 'push.default' for further information. (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode 'current' instead of 'simple' if you sometimes use older versions of Git) Username for 'https://github.com': ^C bash-3.2$ git config --global user.name "David" bash-3.2$ pwd /Users/david/repositories/git/archer-git-demo-test bash-3.2$ cd .. bash-3.2$ ls archer-git-demo-test bash-3.2$ cd .. bash-3.2$ ls git svn bash-3.2$ cd svn/ bash-3.2$ clear bash-3.2$ ls -1 bash-3.2$ bash-3.2$ pwd /Users/david/repositories/svn bash-3.2$ ls bash-3.2$ svn checkout https://subversion.assembla.com/svn/archer-cookbook A archer-cookbook/trunk A archer-cookbook/curry A archer-cookbook/branches A archer-cookbook/recipe A archer-cookbook/readme.textile A archer-cookbook/tags Checked out revision 4. bash-3.2$ ls archer-cookbook bash-3.2$ cd archer-cookbook/ bash-3.2$ ls branches readme.textile tags curry recipe trunk bash-3.2$ cat curry Ingredients ---------- Onions Garlic Preparation -----------bash-3.2$ svn update Updating '.': U curry Updated to revision 5. bash-3.2$ cat curry Ingredients ---------- Onions Garlic Chilli Preparation -----------bash-3.2$ emacs curry bash-3.2$ svn commit -m "Added some ginger" Sending curry Transmitting file data . Committed revision 6. bash-3.2$