Get Git repository
Initialize a version repository
git init
Clone remote repository
git clone [email protected]:wordpress. Git
Add remote repository origin, the syntax is git remote add [shortname] [url]
git remote add origin [email protected]:wordpress.git
View Remote repository
git remote -v
Submit your changes
Add the currently modified file to the staging area
git add .
If you auto track Files, including files that you have manually deleted, with a status of Deleted
git add -u
Submit your changes
git commit –m "your comments"
Push your update to the remote server, the syntax is git push [remote name] [local branch]: [remote branch]
git push origin master
view file status
git status
track new file< Br>git add readme.txt
Remove files from the current tracking list and delete them completely
git rm readme.txt
Remove only in the scratchpad, keep files in the current directory, no longer track
git rm –cached readme.txt
Rename file
git mv reademe.txt Readme
Add ftp user in linux, and set the corresponding permissions, the operation steps are as follows: 5
The disk sector defaults to 512 bytes. To verify, execute it from the command line: fdisk -l
Record your favorite Linux system commands for easy reference later, and find that memory is getting
Download NetBeans Take netbeans-7.0beta2-ml-javaee-linux.sh as an example #sh netbeans-7.0beta2-ml-
Linux environment variable settings and access
Linux interprocess communication shared memory mode
The root password of mysql under linux forgot to solve
Test your UNIX basic knowledge how many
Linux Network Programming - socket option
Active buzzer and passive buzzer difference
Linux system DNS package uninstallation and installation method
Linux system network card binding implementation tutorial
Building a personal server is so simple!
What if the computer can't connect to WiFi? Win7 wireless network connection method
What should I do if the CPU usage of Win7 system is high or low?
How to reduce the volume of other sounds in Win8 system
Tips for removing the player from the Ubuntu sound menu
Windows7 video screenshot picture blackened solution
Win7 manual removal of the printer driver detailed steps