diff options
| author | tekkub <tekkub@gmail.com> | 2011-03-06 03:52:57 -0700 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2011-03-06 03:52:57 -0700 |
| commit | 3ec91806feeea47390ec0d2481bd945f1a252613 (patch) | |
| tree | ddeba42de79a1702041fb92ccabc9ecec80158b3 /_posts/2008-02-15-set-up-git-redirect.markdown | |
| parent | 8431916e74a6db1d2bf7dee8139d43173a11b98c (diff) | |
DRY up OS-specific redirections too
Diffstat (limited to '_posts/2008-02-15-set-up-git-redirect.markdown')
| -rw-r--r-- | _posts/2008-02-15-set-up-git-redirect.markdown | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/_posts/2008-02-15-set-up-git-redirect.markdown b/_posts/2008-02-15-set-up-git-redirect.markdown index 932ef99..c8d5858 100644 --- a/_posts/2008-02-15-set-up-git-redirect.markdown +++ b/_posts/2008-02-15-set-up-git-redirect.markdown @@ -1,18 +1,9 @@ --- -layout: default +layout: os_redirect title: Set Up Git description: A quick guide to help you get started with Git categories: bootcamp +redirect_win: /win-set-up-git +redirect_mac: /mac-set-up-git +redirect_linux: /linux-set-up-git --- - -Attempting to redirect to the guide for your OS. If the redirect fails, pick your OS: - -* [Windows](win-set-up-git) -* [Mac](mac-set-up-git) -* [Linux](linux-set-up-git) - -<script type="text/javascript"> - if (navigator.appVersion.indexOf("Win") != -1) {window.location = '/win-set-up-git'} - else if (navigator.appVersion.indexOf("Mac") != -1) {window.location = '/mac-set-up-git'} - else if (navigator.appVersion.indexOf("X11") != -1 || navigator.appVersion.indexOf("Linux") != -1) {window.location = '/linux-set-up-git'} -</script>
\ No newline at end of file |
