Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dev:howto:git [2009/08/13 23:46] – add url to DOAP website kelnosdev:howto:git [2009/08/14 00:43] – tips and tricks section moved to dev:howto:git-tips-and-tricks kelnos
Line 93: Line 93:
 ===== Tips and Tricks ===== ===== Tips and Tricks =====
  
-==== Shortcut URLS ==== +See [[dev:howto:git-tips-and-tricks]].
- +
-If you clone a lot of Xfce repositories, you can set a shortcut so you don't have to type out the full URL all the time.  Simply run: +
- +
-<code>git config --global 'url.ssh://git.xfce.org/git/.insteadOf' xfce:</code> +
- +
-After this, you'll be able to do, for example: +
- +
-<code>git clone xfce:xfce/xfdesktop</code> +
- +
-and Git will automatically rewrite it to the correct URL.  You can of course do this with git: and http: URLs as well. +
- +
-==== Different Local Username? ==== +
- +
-If your ssh username is not the same as your local username, you can make an entry in ''$HOME/.ssh/config'' (create it if it doesn't exist) so you don't have to type it each time: +
- +
-<code>Host git.xfce.org +
-    User $USERNAME</code> +
- +
-Of course, replace ''$USERNAME'' with your actual username.+
  
 ===== Migrating From git-svn Clones ===== ===== Migrating From git-svn Clones =====