sync: New command that synchronises the local repository and default remote, by running git commit, pull, and push for you.
This commit is contained in:
parent
4b3c4c0c2b
commit
fb8231f3a1
4 changed files with 80 additions and 1 deletions
|
@ -120,6 +120,17 @@ subdirectories).
|
|||
Use this to undo an unlock command if you don't want to modify
|
||||
the files, or have made modifications you want to discard.
|
||||
|
||||
* sync
|
||||
|
||||
Use this command when you want to synchronize the local repository
|
||||
with its default remote (typically "origin"). The sync process involves
|
||||
first committing all local changes, then pulling and merging any changes
|
||||
from the remote, and finally pushing the repository's state to the remote.
|
||||
You can use standard git commands to do each of those steps by hand,
|
||||
or if you don't want to worry about the details, you can use sync.
|
||||
|
||||
Note that sync does not transfer any file contents from or to the remote.
|
||||
|
||||
* addurl [url ...]
|
||||
|
||||
Downloads each url to a file, which is added to the annex.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue