![]() This option enables users to add extra elements such as symbolic links for command lines.Move back to Github and click on "test_demo" and check if the local file "demo.txt" is pushed to this repository. Push the local file onto the remote repository using the following command: $ git push origin master Here, is the link copied in the previous step. Go back to Git bash and link the remote and local repository using the following command: $ git remote add origin Next, copy the link of "test_demo." Step 12: Open your Github account and create a new repository with the name "test_demo" and click on "Create repository." This is the remote repository. Note: simplilearn-github is the username on the Github account. Link the Git to a Github Account: $ git config -global ername Next, make a commit using the following command: $ git commit -m "committing a text file" Step 7:Įnter the Git bash interface and type in the following command to check the status: $ git statusĪdd the "demo" to the current directory using the following command: $ git add demo.txt Go to the folder where "test" is created and create a text document named "demo." Open "demo" and put any content, like "Hello Simplilearn." Save and close the file. The next step is to initialize the directory: $ git init ![]() Basically, the help the command provides a manual from the help page for the command just following it (here, it's config).Īnother way to use the same command is as follows: $ git config -helpĬreate a local directory using the following command: This command will lead you to a browser of config commands. The Git Bash is now launched.įor any help, use the following command: $ git help config Once installed, select Launch the Git Bash, then click on finish. After the file is downloaded, install it in the system. Let us now look at the various steps in the install git: Step 1:ĭownload the latest version of Git and choose the 64/32 bit version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |