Branching out only a part of a repository is not possible. Luckily, only
the difference in changed files are stored on top of the original content,
so if you only change one file in a branch, there is very little syncing to
be done. Simply put: only the files you have changed will be synced. So go
ahead and branch, and don't worry about it if you only change a few files.
This is a normal workflow with Git.
On Saturday, April 14, 2012 8:33:44 PM UTC+2, tombert wrote:
> I would need to create a branch from a project but only one file needs to
> be changed.
> I don't want to sync other files each time there are changes in one or the
> other branch.
> Is this possible in git?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at