[[Obsidian]] + [[Git]] workflow ![[Knowledge graph + git workflow.canvas]] ## Flow 1. Install: - [[Git]]: ![[Git#^install|git]] - [[vscode]]: ![[vscode#^install|code]] - [[Obsidian]]: ![[Obsidian#^install|obsidian]] 2. Setup email and name for [[Git]]: ![[git config#^global|config]] 3. Open repository: 1. Clone repository: ![[git clone#^command|clone]] 2. Open folder as Obsidian vault: ![[Obsidian#^folder-as-vault|vault]] 4. Make changes and push them to [[Remote repository (git)|remote]]: ![[Do changes on a branch and create pull request#^flow]] 5. Pull the others changes from [[Remote repository (git)|remote]] 1. Fetch changes your collaborators made: ![[git fetch#^cmd|fetch]] 2. And download then: ![[git pull#^cmd|pull]] 6. Repeat from 3 - [[#^changes|start next task on a separate branch]]