Is it safe to checkout a new git branch during the push of a current branch?
问题 For example, if I am pushing master to a remote repo and it's taking a while, is it safe to open another terminal and do git checkout secondbranch so I can start working again? Is the original process doing the push going to be disrupted by the new checkout? 回答1: It should be safe, because push is reading from your local repo and writing to the remote, and checkout is reading from your local repo and writing to your workspace. Nice visualization of what-goes-where: http://www.ndpsoftware.com