Przejdลบ do treล›ci

๐Ÿ” Server Pull Strategy

A safe and controlled method for deploying documentation or infrastructure updates.


๐Ÿงฉ Why Pull-Only?

  • Prevents accidental overwrites
  • Ensures server always receives clean history
  • Avoids merge conflicts
  • Enforces Git discipline

๐Ÿ”ง Configuration

1
2
3
git config pull.ff only
git config pull.rebase false
git config pull.ff true

๐Ÿš€ Deployment Flow

  1. Desktop pushes changes
  2. Server pulls changes
  3. MkDocs rebuilds site
  4. No direct edits on server

๐Ÿ›ก๏ธ Benefits

  • Predictable deployments
  • Clean Git history
  • No accidental merges
  • Easy rollback