Skip to content

Commit

Permalink
fix: Updated Git config for simplified push and rebase pull
Browse files Browse the repository at this point in the history
Configured git to use the `simple` pushing strategy and to rebase
instead of merge on pull, optimizing the workflow and reducing merge
conflicts. This setting makes push defaults safer and pull updates
cleaner by rebasing local changes on top of fetched commits.
  • Loading branch information
mdsanima committed Feb 1, 2024
1 parent 8ac8bdc commit e736d37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
editor = nvim
symlinks = true

[push]
default = simple

[pull]
rebase = true

[alias]
st = status
ci = commit --verbose
Expand Down

0 comments on commit e736d37

Please sign in to comment.