diff options
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -87,6 +87,34 @@ as Enter). To close the window, press =q=. * Adding remotes +A remote can be added by pressing =M= from the Magit status window. + +** Creating a new (temporary) Git repository + +For the purposes of the tutorial, create a temporary Git repository on +your computer to use as a remote. + +The =magit-init= command can be used to create a new Git repository. + +In this case, press =M-x magit-init=, and then enter an appropriate +path. Remember where you've created the temporary repository. + +** Adding the test remote + +To use the temporary Git repository as a remote, from the Magit status +window, press =M= to bring up the Remote options, then =a= for adding +a new remote. + +Enter =test= as the remote name, and then the full filename for the +temporary Git repository you created above as the remote URL. When +prompted to set this remote as the pushDefault, answer =n= for no. + +** Easily viewing remotes and branches + +From the Magit status window, press =y= to get an overview of your +local branches, and those on all of the remotes. Press =q= to return +to the Magit status window. + * Pushing * Pulling |