diff --git a/NEWS b/NEWS index c91e06b0..cbd322c5 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,11 @@ Changes in magit 0.8: * Pulling will ask which branch to pull from when you don't have a default branch configured. +* Switching to a remote branch will offer to create a local tracking + branch for it. + +* Bug fixes to make Magit work better with newer Gits. + Changes in magit 0.7: * Tagging, on 't' and 'T'. diff --git a/magit.texi b/magit.texi index f19f101f..29f3d998 100644 --- a/magit.texi +++ b/magit.texi @@ -425,6 +425,10 @@ You can switch to a different branch by typing @kbd{b}. This will immediately checkout the branch into your working copy, so you shouldn't have any local modifications when switching branches. +If you try to switch to a remote branch, Magit will offer to create a +local tracking branch for it instead. This way, you can easily start +working on new branches that have appeared in a remote repository. + Similar to @kbd{x}, typing @kbd{b} while point is at a commit description will offer that commit as the default to switch to. This will result in a detached head.