For creating a repository, we will first create a folder in which we will work How to Create a New Directory using Git Bash?Ĭreating a directory using Git Bash is just a simple command which is used in Linux systems also. For this, go to the directory to which you want to change the directory in a normal way you explore your system.Īfter this, right click anywhere in the directory => Open Git Bash here.Īfter we have learned how to change the working directory, we can create a repository in any of the project folders where we need to work. Open Git Bash directly in the folderĬhanging the directory through opening it in the same folder is quite straightforward. Note: ToolsQA is a folder inside the E drive on my system. Type the following command cd and press enter. See that the directory has been changed. Here, I will change the directory to ToolsQA by cd command cd command is commonly used in the shell of your system ( cmd) for the same purpose. You can change the directory inside Git Bash with the help of the cd command. By opening Git Bash in the desired folderīrowse to the desired Directory through Commands in Git Bash.Directly through Git Bash using commands.You can change the directory in two ways: Directory is a technical term for the folder. How to Change the Directory through Git Bash?Ĭhanging the directory is important as you are always shuffling between different directories all the time while working with Git Bash. Since now we are very close to start doing Git activities, but we must know few Common Directory commands on Git Bash to make the process simple. In your system, the Git repository is a simple folder as many other folders. Git repository is a folder inside your system where all your project files are located. It allows you to save versions of your code so that you can access them whenever needed. So, a Git repository would mean a central location where all your project files will be stored and managed. A repository in computing is known as a central place in which data is stored and managed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |