Skip to content

Commit

Permalink
Merge 30ed0fc
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Jun 5, 2020
2 parents 2c9b17a + 30ed0fc commit c13c7ee
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,18 @@ Both views are really similar: they list the commits to be pulled or pushed, and

![image](images/tutorial-push.png)

Finally if you accept the dialog using the buttons "Pull" or "Push", they will take effect.
Finally if you accept the dialog using the buttons "Pull" or "Push", they will take effect.


### Setting Git config values

Sometimes you may need to adjust the Git config values for your repository. For instance, to set your email address to your secure Github email address. The procedure is currently a little buried and perhaps there will be a modal for this in the future. You can do this from a command-line git tool outside of Pharo by going to the directory for the repo (in the `pharo-local/iceberg` directory of your image), but here is a method for doing it within Pharo.

1. Launch __Iceberg__
1. Right-click on the repository
1. Choose __Extra -> Inspect...__
![image](images/tutorial-repository-inspect.png)
1. In the __Raw__ tab, select `handle` to get to the underlying __LGitRepository__ instance
1. In the __Raw__ tab of the __LGitRepository__, access the email setter by using `self config email: '<your email address>'` and then `CMD/CTRL-d` to execute
![image](images/tutorial-config-set.png)
__LGitConfig__ also exposes __username__, which is not to be confused with the Github username, but is your friendly name for commit messages, like "Joel Wilson".
Binary file added docs/images/tutorial-config-set.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tutorial-repository-inspect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c13c7ee

Please sign in to comment.