Table of Contents

Commands

  • Git Config $ git config --list

  • Git config username and email for all repos

    $ git config --global user.name "John Doe"

    $ git config --global user.email "[email protected]"

  • Initialize a repository. Creates a new subdirectory named .git that contains all of your necessary repository files. $ git init .

  • Get a copy of an existing Git repo. $ git clone [url]

Uruguay
Marcelo Canina
I'm Marcelo Canina, a developer from Uruguay. I build websites and web-based applications from the ground up and share what I learn here.