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?
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/git-cheatsheet.html#loc=local_repo;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With