]> git.madduck.net Git - code/vcsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Simplify example setup
authorThomas Ferris Nicolaisen <tfnico@gmail.com>
Sat, 15 Jun 2013 21:50:15 +0000 (23:50 +0200)
committerThomas Ferris Nicolaisen <tfnico@gmail.com>
Sat, 15 Jun 2013 21:50:15 +0000 (23:50 +0200)
Git supports the push -u flag since a while now,
and it's nice to show the user that afterwards
one can push without arguments

README.md

index 68031ff877ef0dd23dfb7733e0efbdedd350b421..011b41a6b4baea47299fe1ad913900340c49b41c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -56,8 +56,9 @@ Let's say you want to version control your `vim` configuration:
     vcsh vim commit -m 'Initial commit of my Vim configuration'
     # optionally push your files to a remote
     vcsh vim remote add origin <remote>
-    vcsh vim push origin master:master
-    vcsh vim branch --track master origin/master
+    vcsh vim push -u origin master
+    # from now on you can push additional commits like this
+    vcsh vim push
 
 If all that looks a _lot_ like standard `git`, that's no coincidence; it's
 a design feature.