-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
528eb40
commit a53b591
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,16 +53,16 @@ namespace :git do | |
|
||
command 'git', 'config', '--global', 'gpg.program', git_gpg | ||
|
||
# Automatically set remote branch on `push`. | ||
command 'git', 'config', '--global', 'push.autoSetupRemote', 'true' | ||
|
||
# Always use SSH URLs for pushing to GitHub and for pulling from private repositories. | ||
command 'git', 'config', '--global', 'url.ssh://[email protected]/editiontirol/.insteadof', 'https://github.com/editiontirol/' | ||
command 'git', 'config', '--global', 'url.ssh://[email protected]/oc-reith/.insteadof', 'https://github.com/oc-reith/' | ||
command 'git', 'config', '--global', 'url.ssh://[email protected]/.pushInsteadOf', 'https://github.com/' | ||
command 'git', 'config', '--global', 'url.ssh://[email protected]/reitermarkus/.insteadOf', 'https://github.com/reitermarkus/' | ||
command 'git', 'config', '--global', 'url.ssh://[email protected]/.insteadOf', 'https://git.uibk.ac.at/' | ||
|
||
# Disallow pushing to `Homebrew/brew`. | ||
command 'git', 'config', '--global', 'url.do-not-push', 'https://github.com/Homebrew/brew' | ||
|
||
# Don't use SSH for Homebrew tap. | ||
command 'git', 'config', '--global', 'url.https://github.com/reitermarkus/homebrew-tap.insteadOf', 'https://github.com/reitermarkus/homebrew-tap' | ||
|
||
|