Skip to content

Commit

Permalink
Update Git push settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus authored May 16, 2024
1 parent 528eb40 commit a53b591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/git.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit a53b591

Please sign in to comment.