diff options
Diffstat (limited to 'tutorials/set-up-account-and-git.md')
-rw-r--r-- | tutorials/set-up-account-and-git.md | 7 |
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: |