But if you do initialize your repo with a README file using interface provided by GitHub, then your local repository won’t have this README file. It helps people know what this repository is about. Note: You can choose to initialize your git repository with a README file, and further, you can mention your project details in it. Step 2: Give a suitable name of your repository and create the repository Set your email address: git config -global user.email Initializing a Local repositoryįollow the steps given below to initialize your Local Repository with Git: Set your username: git config -global user.name "FIRST_NAME LAST_NAME" Open Git Bash and begin creating a username and email for working on Git Bash. Syntax: ls Set your global username/email configuration ![]() Ls command is used to list all the files and folders in the current directory. To navigate between the folders the cd command is used To open Git Bash navigate to the folder where you have installed the git otherwise just simply search in your OS for git bash.Ĭd command refers to change directory and is used to get into the desired directory. Step 4: Let the installation process finish to begin using Git Bash. Step 3: Select how to use the Git from command-line and click on Next to begin the installation process. ![]() Step 2: Select the components that you need to install and click on the Next button. Once downloaded execute that installer, following window will occur:. exe file installer for Git Bash can be downloaded from
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |