aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/set-up-account-and-git.md
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-04-12 11:59:18 -0400
committerDrew DeVault <sir@cmpwn.com>2019-04-12 12:00:36 -0400
commitfc5530aed5470f020358cb5f1f8d5f11b6530e66 (patch)
treee9e9c678b5efbf29b6f073cf9372b8b1299c7ce8 /tutorials/set-up-account-and-git.md
parent034d92ce14251297c41f68cfbf7e37df5fe80d0f (diff)
downloadsr.ht-docs-fc5530aed5470f020358cb5f1f8d5f11b6530e66.tar.gz
Add mercurial tutorial
Diffstat (limited to 'tutorials/set-up-account-and-git.md')
-rw-r--r--tutorials/set-up-account-and-git.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/tutorials/set-up-account-and-git.md b/tutorials/set-up-account-and-git.md
index 4a0d75f..7bf572e 100644
--- a/tutorials/set-up-account-and-git.md
+++ b/tutorials/set-up-account-and-git.md
@@ -6,6 +6,11 @@ If this is your first time using git, we recommend starting with the [Git
Book](https://git-scm.com/book/en/v2). It's free, translated into many
languages, and easy to read. Read at least the first 3 chapters.
+<div class="alert alert-info">
+ Prefer Mercurial? Check out the corresponding
+ <a href="set-up-account-and-hg.md">Mercurial tutorial</a>.
+</div>
+
# Setting up your account & first git repository
Thanks for signing up for sr.ht! Let's start by setting up your profile details.
@@ -64,7 +69,7 @@ created the initial commit.
The following commands will add a "remote" to your local git repository, which
will allow you to push changes to a remote repository on git.sr.ht.
- git remote add origin git@git.sr.ht:~username/example
+ git remote add origin git@git.sr.ht:~{{{srht_username}}}/example
Make sure to replace `username` with your own. Then this command will push your
master branch to git.sr.ht: