Flashcards
Setting up Repository
Cards in this deck (9)
- 1git init-Transforms the current directory into Git repository.
-Adds .git folder to the current directory - 2git init-Creates empty Git repository in the specified directory
- 3git init -- bare-Initilize an empty Git repository, but omit the working directory.
-most common use case for git init is to create a central repository - 4What is a more convenient way to create local copies.git clone or git init ?git clone
- 5git clone-Copies an existing Git repository
-The working copy is a full-fledged Git repository
-Clone automatically creates a remote connection called origin pointing back to the original repository
git clone - 6The git config command lets youconfigure your Git installation (or an individual repository) from the command line.
- 7git config user.nameDefine the author name to be used for all commits in current repository
- 8git config --global user.name-Define the author name to be used for all commits by the current user.
-In most cases you want to use the --global flag - 9—
Information
- Description
- Flashcards on Setting up Repository, created by Kristin Sif Vigfusdottir on 07/11/2016.
- Created by
- Kristin Sif Vigfusdottir
- Views
- 1
- Rating