Git: Difference between revisions

Line 12: Line 12:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# Clone or download a repository
# Clone or download a repository
git clone <url>
git clone <url> [<foldername>]
# cd into the cloned folder
cd <foldername>
# Note that some repos have submodules which will also need to be cloned
git submodule update --init --recursive


# Stage your changes
# Stage your changes