mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-05 23:18:28 +02:00
use cached git config
This commit is contained in:
@@ -18,10 +18,6 @@ type PushOpts struct {
|
||||
func (c *GitCommand) Push(opts PushOpts) error {
|
||||
cmdStr := "git push"
|
||||
|
||||
if c.GetConfigValue("push.followTags") != "false" {
|
||||
cmdStr += " --follow-tags"
|
||||
}
|
||||
|
||||
if opts.Force {
|
||||
cmdStr += " --force-with-lease"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user