![]() Git init The command creates a file called. ② perform git init Command converts the current directory to Git Warehouse If you have a project directory that has not been versioned, Want to use Git To control it, You need to perform the following two steps : Initialize warehouse in existing directory $ # View the specified global configuration item $ git config -global user.email " " Check configuration information MINGW64 ~/Desktop/demo (master ) $ git config -global user.name "wyx" MINGW64 ~/Desktop/demo (master ) Right click on the desktop to open Git Bash Here MINGW64 ~/Desktop/demo (master ) The program 'git' is currently not installed. You can use your browser to access the following web sites, According to your own operating system, Choose to download the corresponding Git Installation package :ġ、javascript You can right-click, See if there is Git Bash Here This optionĢ、linux The user can input in the terminal git Command to detect if is installed, If not installed, The following information will be prompted : $ git Submit update 、 Find the file in the staging area, Permanently store the snapshot to Git Warehouse 1、 install GitĪt the beginning of use Git Before managing the version of the project, You need to install it on your computer. Work area 、 Temporary storage area 、Git Warehouse Basic Git WorkflowĢ、 Staging changes you want to commit next time Almost all operations are performed locallyĬharacteristic :1、 After the network is disconnected, the project can still be version managed locallyĢ、 After networking, Synchronize the locally modified records to the cloud server.Git snapshot, Similar to backup shortcoming : It takes up a lot of disk space advantage : Version switching is very fast SVN Comparison of differences : It stores a set of basic files and the differences that each file accumulates over time Take a snapshot directly, Not the difference.Ĭharacteristic : The bigger the project, the more complex, The more collaborative developers, The more you can show Git High performance and high availability of ! Can quickly and efficiently handle version management from very small to very large projects. Git Is an open source distributed control system, It's the most advanced in the world at present 、 The most popular version control system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |