Jump to content

Git: Difference between revisions

172 bytes added ,  29 January 2020
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