Update README.md
This commit is contained in:
parent
120bdde9b6
commit
c464236446
1 changed files with 3 additions and 1 deletions
|
|
@ -78,12 +78,14 @@ The biggest grievance when working with remotes is the "git pull" command. Which
|
|||
|
||||
get | git equivalent
|
||||
--- | --------------
|
||||
get clone *PATH* | git clone --recurse-submodules [-b *branch*] *PATH* <ul><li> Paths like "username/repo" will be expanded to a Github URL. </li> <li> Paths like "repo" will be expanded to a Github url if your username is stored in git config. </li> <li> Paths ending with #*branch* (the URL style used by NPM and Bower) will clone that branch. </ul>
|
||||
get clone *PATH* | git clone --recurse-submodules [-b *branch*] *PATH* <ul><li> Paths like "username/repo" will be expanded to a Github URL. </li> <li> Paths like "repo" will be expanded to a Github url if your username is stored in git config.\* </li> <li> Paths ending with #*branch* (the URL style used by NPM and Bower) will clone that branch. </ul>
|
||||
get fetch | Fetches all remotes and fast-forwards local branches when possible
|
||||
get fetch *branches* | Fetches and fast-forwards the specified branches
|
||||
get push | pushes to upstream. <ul><li> If upstream not set, prompt user to name a remote branch. </li> <li> If multiple remotes exist, prompt for which remote to use. </li></ul>
|
||||
get remote | Interactive prompt to add a remote.
|
||||
|
||||
\* To save your Github username where `get` can see it: `git config --global github.user your_user_name`
|
||||
|
||||
#### Miscellaneous
|
||||
|
||||
get | git equivalent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue