Skip to content

Commit

Permalink
Added note about push.autoSetupRemote in git article
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstocks committed May 21, 2024
1 parent 0f92008 commit 1b3fc80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/blog/2021-11-23-minimal-git-config-mac-m1-zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Instead of copy pasting the above (which i used to do all the time), I now have
alias gpo="git push -u origin HEAD"
```

Edit (2024-05-21): This can now also be set to happen automatically with the [push.autoSetupRemote](https://git-scm.com/docs/git-push#Documentation/git-push.txt-pushautoSetupRemote) git configuration flag.

## Minor Zsh improvements

### Prompt
Expand Down Expand Up @@ -111,7 +113,6 @@ autoload -Uz compinit && compinit
And you're done. Magic.
### But what about "x" ?
The tweaks in this article adressed the things that annoyed me the most after using git for a few months without any configuration.
Expand Down

0 comments on commit 1b3fc80

Please sign in to comment.