Cloning a remote git directory
Https://github.com/pcdogyu/git4windows.git
Cloning down.
Generate 1.txt
Scan Stage Signoff Commit
2 Commit Records
Push to remote Address
Completed the
Before you can go to the webpage, you receive the system prompt Mail
Page view 1.txt has been submitted.
For synchronizing changes on the remote repository to local, GIT provides 2 commands to complete this function, fetch and pull, respectively. First of all, say fetch:
git fetch https://github.com/pcdogyu/git4windows.git Master
After executing this command, the code on the remote repository will be synced locally, but the synced code will not be merged into any branch, but will be stored on a origin/master branch where we can use the diff command to see exactly what was modified on the remote repository:
git diff https://github.com/pcdogyu/git4windows.git/master
The merge command is then called to merge the modifications on the Origin/master branch onto the main branch:
git merge Https://github.com/pcdogyu/git4windows.git/master,
The pull command is equivalent to putting the fetch and merge two commands together to execute the
Git pull Https://github.com/pcdogyu/git4windows.git Master
Application of Git in Windows (ii)-Remote warehouse code management