Git and Github Notes

Git and Github Notes Git fast version control some basic concepts Version management and tracking Version control systems are software tools Can help teams manage source code Status of Version version status Untracked Tracked Staged has been staged Committed Submitted HEAD -> master / branch HEAD: Current progress, latest status Master: main line What git tracks is the changes to the file, not the file itself. Deleting files also requires “add” and “commit” Files under version management that need to be ignored Add .gitignore in the project directory Write the file suffix or file name that does not require version management control in the .gitignore file Github is a platform/equivalent to Server Git tool hosts documents or code on the github platform - Install Mac os Mac OS comes with git. Enter git -- version to see the git version. Windows Download the latest https://git-for-windows.github.io/ git for windows Complete the git installation according to the instructions After completing the installation, you can see the git bash icon Ubuntu /Debian Install according to the command below $ sudo apt-get update $ sudo apt-get install git $ git --versionUse Basic configuration Configure git username and email using the following commands ...

搜尋文章

輸入標題、分類或文章內容

Plz typing to search for articles.