Git, GitHub and your work email
· 5 min read
A setup to separate private and work-related contributions on GitHub
If you add a new file to your code which you want to add to git later, you can show that intent early with git add --intent-to-add. This is quite useful when want to add new files to the index (so you don’t forget about them later), but you’re still working on them and don’t want to add the content just yet 🥳
Git is a useful tool for collaboration. However, we often experience conflicts when multiple people are working on the same branch.