git client
Features | command | Optional parameters | Explanation |
---|---|---|---|
SSH |
ssh-keygen |
Generating a key (note to be moved after .ssh ~ / .ssh folder executed, or generated) | |
warehouse |
git clone |
-b | --branch | Clones the specified branch |
--depth <depth> | Create a shallow clone, clone designated historical records submitted | ||
--shallow-since=<date> | Create a shallow clone, clone designated historical record date of submission | ||
git init | Initialization warehouse | ||
Branch Management |
git commit | Submit changes to the repository | |
Go merge | Content staging area merge the current branch | ||
git fetch | The latest content remote branch got me to the staging area | ||
git pull | The latest content remote branch got me to the staging area and merged into the current branch | ||
git push | Push to remote branch |