I have done the following test on Visual Studio 2017:  1) Created new repo with master branch:    It just has a gitginore file:    2) Created Branch1 with file1:      3) Checkout master branch again, and opened 'Show folder view':      Why on earth am I seeing file1 in master branch?
I am working on a git repository with a master branch and another topic branch. I have switched to topic branch and modified a file. Now, if I switched to master branch that same file is shown as modified.   For example:  git status in git-build branch:  # On branch git-build # Changes to be committed: #   (use "git reset HEAD &lt;file&gt;..." to unstage) # #       modified:   cvsup_current #   Switch to master branch  [root@redbull builder_scripts (git-build)]# git co master M       builder_scripts/cvsup_current Switched to branch "master"   git status in master branch  [root@redbull builder_scripts (master)]# git status # On branch master # Changes to be committed: #   (use "git reset HEAD &lt;file&gt;..." to unstage) # #       modified:   cvsup_current #   Why is that the file is shown as modified in master branch even though it was modified in git-build branch?   My understanding was that the branches are independent of each other and when I change from one branch to another the changes do not "spill over" from one branch to another. So I am obviously missing some thing here.   Anyone got a clue stick?
So I understand that this has happened in the past: , but all of the &quot;duplicate&quot; posts are marked as  so here is a new bug report: On the , I am listed twice:  While that's fun and all, it isn't exactly right. \sum caused \sqrt to not be slanted Let $f$ be an entire function and $L$ a line in $\mathbb{C}$ such that $f(\mathbb{C})\cap L=\emptyset$. Show that $f$ is constant function.  If $f$ is not constant  then $f(\mathbb{C})$ is dense set in $\mathbb{C}$, but how can I use that line does not intersect the image set? What, precisely, is a confidence interval? Deploying a static site on AWS EC2/nginx: what am I doing wrong? There are several ways to execute a script. The ones I know are: /path/to/script # using the path (absolute or relative) . script        # using the . (dot) source script   # using the `source` command  Are there any other way? What are the differences between them? Are there situations that I must use one and not another? I'm basically searching for the opposite of putting all your eggs in one basket, where the risk is total failure because you did not hedge your efforts. I'm searching for a phrase that encompasses splitting your efforts and evokes the prospect of failing at both. A bird in the hand is worth two in the bush also encompasses a sense of having focused your efforts, but only alludes to total failure. To satisfy the criteria, the phrase must cover:  attempting two things (or multiple iterations of one thing) both of which you might succeed at, if you addressed them serially but both of which you fail at because you address them in parallel  Here are the idioms/phrases that do not sufficiently cover the idea and why:  &quot;A servant to two masters&quot;  This has the sense of competing priorities, but not the sense of failing to achieve your goals.  &quot;Jack of all trades. Master of none.&quot;  The sense is insufficiently pejorative. Being a jack-of-all-trades can be seen as an advantage; I'm trying to focus on the lack of mastery.  &quot;The man who fancied himself a wit, and was half-right.&quot;  From Christopher Hitchens. Hilarious, but lacking the sense of split effort between two things.  &quot;Walking and chewing gum at the same time.&quot;  An idiom for multi-tasking, not for failing to multi-task. Edit Addressing a few suggestions and another one that occurred to me:  &quot;Hedging your bets&quot; or &quot;Betting against yourself&quot;  In this case, you cannot win both bets, but you will almost certainly win one. You limit your upside, but also limit your risk. I'm looking in particular for total, catastrophic failure due to split attention/effort.  &quot;Can't walk and chew gum at the same time&quot;  Failing to do two fairly simple things that most everyone can do, not failing at two hard things because you tried to do both.  &quot;Robbing Peter to pay Paul&quot;  In this case, Paul gets paid. If you were to rob Peter to pay Paul, and get robbed yourself before you could get the money to Paul, that'd be closer. :)  &quot;Spreading yourself too thin&quot;  An actual English idiom, but missing the implied sense of failure.  &quot;Too many irons in the fire&quot;  &quot;A lot of irons in the fire&quot; can be viewed positively, so this is missing the sense of a strategic misstep.  &quot;Between a rock and a hard place&quot;  The sense is of needing to act but having no good alternative.  &quot;Falling between two stools&quot;  My favorite answer so far because it does appear to be an actual English idiom (not a proverb). In that sense, it's great, but some of the usages are closer to a failure of  than a failure of effort. And falling between two stools implies that the attempted action was simply sitting down.  &quot;Chasing two rabbits and catching none.&quot;  This is the exact sense I was looking for, but it appears to be a cross-cultural proverb rather than idiomatic English like &quot;putting all your eggs in one basket&quot;. I'll be accepting it, and using it in my work! But if there are other ideas, please let me know. For simple linear regression, the regression coefficient is calculable directly from the variance-covariance matrix $C$, by  $$ C_{d, e}\over C_{e,e} $$ where $d$ is the dependent variable's index, and $e$ is the explanatory variable's index.  If one only has the covariance matrix, is it possible to calculate the coefficients for a model with multiple explanatory variables?   ETA: For two explanatory variables, it appears that $$\beta_1 = \frac{Cov(y,x_1)var(x_2) - Cov(y,x_2)Cov(x_1,x_2)}{var(x_1)var(x_2) - Cov(x_1,x_2)^2} $$ and analogously for $\beta_2$. I'm not immediately seeing how to extend this to three or more variables. How to format/partition SD card? How can I format or partition SD card in Kubuntu?  Is there an application with GUI for this? HTTP 401 twice before HTTP 200 when serving files There are no compact minimal surfaces This is one of the exercises of 'Do Carmo' (Section 3.5, 12)     How do you prove that there are no compact (i.e., bounded and closed in $\mathbb{R}^3$) minimal surfaces?   Thanks! I found a problem with an application on Ubuntu.   Questions :   How do I best report the issue?  What sort of information should I provide? Allow adding bounties from the iOS & Android app (I was surprised I couldn't find this in an existing question, so here goes)    I'd like to add a bounty to a question, but I'm too lazy to go get my computer or a web browser. I like the SE app, and want to use it to do everything. I can't find the button to add a bounty to a question.  Please add this button, I really want to be able to add bounties to questions from the app. Checking the way to stop duplicate names - validation rules or triggers How do I update Android on my device? This Community Wiki question is designed to be the "canonical question" for questions asking how to upgrade one's device to a new Android version.   I want to get a newer version of the OS for my Android device. How can I do that?  See also: How do I connect a PS3 Controller with Xperia P? How to fix "Duplicate sources.list entry" warning? Every time I try to do some update (sudo apt-get update) it says:   Reading package lists ... ready W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages) W: You have to run apt-get update to correct these problems   sources.list:   ls /etc/apt/sources.list.d/ as requested:  milton@milton-HuronRiver-Platform:~$ ls /etc/apt/sources.list.d/ emesene-team-emesene-stable-precise.list precise-partner.list precise-partner.list.save upubuntu-com-chat-precise.list upubuntu-com-chat-precise.list.save Adobe Reader and xcolor within a table breaks the line render I'm using the xcolor package to colour the top row in a table. This is displayed properly using PDF viewers such as Preview or Skim (Mac). But using Adobe Reader 10.1.3 (either Windows or Mac) doesn't display the table line properly.   But removing the colouring for the table fixes it. Here is the example that works as expected:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline {\bf Test ID } &amp; {\bf Task } &amp; {\bf Expected} &amp; {\bf Actual} &amp; {\bf Outcome} \\ \hline    5.1 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline    5.2 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline    5.3 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline    5.4 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline \end{tabular}  \end{table}   And here is the example with a coloured row:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline \rowcolor{gray!25} {\bf Test ID } &amp; {\bf Task } &amp; {\bf Expected} &amp; {\bf Actual} &amp; {\bf Outcome} \\ \hline    5.1 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline    5.2 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline    5.3 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline    5.4 &amp; Something &amp;  Something &amp; Something &amp;  Success \\ \hline \end{tabular}  \end{table}   Removing the \rowcolor{} command replacing it with \cellcolor{} creates the same view. Any idea how to fix this?  I've tried printing it out of Adobe and the lines print fine, but as this will be read on as a soft copy it's pretty important. .  Any idea how to fix this? What is the logic behind the timer of the Sojourner Badge? Does the 24 hours timer start:     when you hack a portal on a particular day     or     does it use the calendar days and check if you did hack a portal on a particular day   or     does it simply use a fixed international timezone to calculate the 24 hour cycle   or     does it use the agent's hacking cell's timezone to start it?   If it's the calendar days method than the explanation of the badge would be a little bit misguided because you could hack a portal on 00:01 on Saturday and then hack another one on 23:59 on Sunday and it would be practically two days between two hacks.  If it's based on the agent's last hack for a particular day then the explanation still would be problematic?  The third option would be a little bit unfair (or timezone racist) for the rest of the world.  The last option (the cell's timezone) would/could be both unfair for travellers and/or non-travellers.  Does anyone know any details about it? No matter how I do it, I always end up with $x = 0, 90, 270$ and $360$. All of those except $270$ is right, but I can't quite figure out how to get the $270$ degrees out of the answer. I've tried using trig identities, I've tried squaring both sides, but I always end up with $$2\sin x\cos x$$ which then leads me to $x = 0, 90, 270, 360$. But $$\sin (270) + \cos (270) = -1$$ so I'm doing something wrong.