![]() You can create a commit message by git commit -m 'your message', which adds the change to the local repository.Commit the files staged in your local repository by writing a commit message Use git status in your bash to view all the files which are going to be staged to the first commit.Ħ.in your bash to add all the files to the given folder. '.git' is created at the top level of your project, which places all of the revision information in one place.ĥ. It is used to create a new empty repository or directory consisting of files' with the hidden directory. Use git init to initialize the repository.This command can identify the required file that you are looking to work with. The cd commands stand for 'change directory' and it is used to change to the working directory in your operating system, and to locate your file, 'path_name', i.e., C:/Users/Dell/Downloads/FaceDetect-master needs to be given. Move to the specific path in your local computer by cd 'path_name'.pwd stands for 'print working directory', which is used to print the current directory.Create your local project in your desktop directed towards a current working directory Git Bash can be downloaded in here, and it is a shell used to interface with the operating system which follows the UNIX command.ģ.Fill up all the required details, i.e., repository name, description and also make the repository public this time as it is free.You need to create a new repository and click on the plus sign. ![]() The original post can be found here.Using Command line to PUSH to GitHub 1. This article has been provided by Alan Coggins and was originally published on Simpl圜. Now you are ready to start working in GitHub Desktop.
0 Comments
Leave a Reply. |