Skip to content

Commit

Permalink
(gitconfig) Add push.autoSetupRemote setting
Browse files Browse the repository at this point in the history
  • Loading branch information
perlun committed Jun 30, 2023
1 parent f0b47f0 commit 2b47804
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gitconfig
Expand Up @@ -84,10 +84,14 @@
# normally pull from (i.e. central workflow).
default = upstream

# Automatically sets -u on default push when no upstream tracking exists for
# the current branch.
autoSetupRemote = true

[rebase]
# Enable the --autosquash flag by default, which is useful for automatically
# applying fixup commits to previous commits.
autosquash = true
autoSquash = true

[filter "media"]
clean = git-media-clean %f
Expand Down

0 comments on commit 2b47804

Please sign in to comment.