in visual studio, I create a new branch from my master branch, write something new, and these changes also appear there when switching to the master branch.Can someone tell me how to configure it so that they do not go there automatically?Thanks
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?
How to prove there are no more positive integers that are products of 2 and 3 consecutive numbers? Why doesn't the Enterprise use stealth/invisibility technology like the Romulans and Klingons? The stealth mode of starships plays a huge role in many Star Trek films and episodes and is a strong advantage in combat. I remember an episode revealing that the Federation developed a secret stealth technology (afair on Riker's former ship with another captain appearing in this episode) that even made it possible to fly with the ship through matter.   Nonetheless, while stealth technology seems standard for Romulans, Klingons (Ferengi, Vulcans?) and does not break any intergalactic laws (do these exist at all?), the Federation doesn't use it? How to find the joint PDF? Logistic regression is predicting all 1, and no 0 I am running an analysis on the probability of loan default using logistic regression and random forests.    When I use logistic regression, the prediction is always all '1' (which means good loan).  I have never seen this before, and do not know where to start in terms of trying to sort out the issue.  There are 22 columns with 600K rows.  When I decrease the # of columns I get the same result with logistic regression.   Why could the logistic regression be so wrong?  **Actual from the data**  0 :   41932  1 :   573426  **Logistic regression output**   prediction for 1 when actually 0: 41932 prediction for 1 when actually 1:573426  A**s you can see, it always predicts a 1**   **Random forests does better:**  actual 0, pred 0 : 38800  actual 1, pred 0 : 27  actual 0, pred 1 : 3132 actual 1, pred 1 : 573399 Eclipse Scala IDE - class file needed by X is missing Order discrete x scale by frequency/value Last night, I migrated my MacBook's operating system from 10.10 "Yosemite" to 10.11 "El Capitan". Everything seemed to go smoothly. Happily, regarding my TeX-related work, I am able to use the GUI front ends "TeXworks" and "TeXshop" just fine since completing the OS upgrade. I use MacTeX2015, with all the latest updates installed.  Oddly, though, since completing the upgrade I can no longer run any MacTeX command-line utilities such as texdoc and kpsewhich. (Actually, as I just discovered, I can no longer run pdflatex either from a command line. However, I never do run pdflatex from a command line prompt, so that's not an urgent problem for me -- at least not for now.)  The suggestions given in the posting  do not seem to be applicable to this case, as they all seem to revolve around setting up /usr/texbin correctly -- /usr/texbin is no longer allowed under MacOSX 10.11. The document  by Herb Schulz deals in depth with adjusting settings in the GUI front ends, but it appears not to touch on what to do about /usr/texbin, which appears to be the now-missing link to TeX's command line utilities.   Pointers and solutions most welcome! How to modify the space between the numbers and text of sectioning titles in the table of contents? I'm preparing a document using the book class. In the table of contents, the space between the subsection number and title is too wide. How to reduce it? How can I tell what year my bike was made? This is a canonical question that will hopefully encompass all of the questions we get asking us to determine what year a bicycle was manufactured (how old is my bike, how old is my frame, etc.). Each "answer" should address a different way to determine the manufacturing year of a bicycle. To some extent, these will also help you narrow down the model as well as it will tell you what distinguishing features to look at.  The span of answers would include things such as:      Skiptooth cranks Cartridge bottom brackets (BB30/90 etc) Elliptical chainring Quick releases versus contemporary through-axles How the steerer attaches to the fork (quill vs. threadless)  Braking system (especially with mountain bikes: v-brake, direct pull, etc.)   Shifting ramps and pins on cassettes/sprockets and chainrings (versus flat sprockets) Frame material (e.g., shift from tubular steel to use of CF and hydroformed aluminium)  Frame tubing type (e.g. Reynolds 531 tubing introduced around 1934, still used today; Reynolds 501 tubing introduced around 1983). So a frame with an original 501 decal can't be from the 70', 531 decal doesn't help as much because of the range of years produced. Also, see Decals.   *Decals: style/design, amount, placement, color, etc. can help not only determine models, but also year of manufacture. Many changed decal design for the same model bike often yearly, with special/limited editions even more specific. This applies only if decals are original or have been replaced with the identical design. Tubing decals (Reynolds, Columbus, etc.) also changed designs for same tubing made in different years, although the changes aren't made as often, and manufacturers didn't always put tubing Brand decals on every model. Earlier bikes tended to have less fancy, less colorful, less quantity of decals.   Headbadges: most early bikes had actual "badges", often quite detailed and fancy, made of metal, then plastic, and finally just using decals on the headtube. Most bikes lost their metal badges in the 60's and early 70's, although some brands still have actual badges to this day, but in general a real badge indicates an earlier model bike. Dropout style (including the later inclusion of lawyers lips) Presence or absence of CPSC reflectors (USA only) Manufacturing method (shift from lugs to TIG welding, for example)  Number of gears (shift from 2x5 ten-speed to 3x8, 2x9, 1x11, etc.)  Inspection of lug design: pantographs, cut-out, stampings, custom brazing/filing, chrome, fork crow n sweep, etc. Frame/Fork Braze-ons. Race bikes tended have less braze-ons the earlier the year of manufacture. Most 60's racers and earlier had few or none with cable guides/stops, shifters, bidons, etc. being clamp-on. By the 80's if it was clamp-on, it was a sign of very cheap models and most frames had braze-ons for all cables, with multiple bottle and accessory bosses depending on style and use.   and so forth. Please edit this question if you have an answer that isn't in the index above.   A couple of caveats:   A previous owner could have replaced or upgraded components on a bicycle, so this guide only applies to original equipment There is a delay between the introduction of a technology (such as indexed shifting) and when manufacturers start selling products that use it. Low-end manufacturers may continue using technology that is severely outdated (such as one-piece cranks, freewheels, or quill stems) because it is cheaper to do so. A number of bikes are built in a Retro style, but with modern components.  Dutch bikes, trendy coffee cruisers, and beach cruisers may be modern but appear to be 1950s styling.  These tend to have modern rims and brakes as a giveaway.     Note that bicycles.stackexchange does not do valuations of bicycles. How much your bicycle is worth depends on the location of the buyer and seller, how much the buyer wants the bike, etc. etc. etc. What's this I hear about First Edition Unix being restored? that the source code of First Edition Unix had been restored from tapes.  The response was amazement and a request for more information.  What have people done?  Who did it?  When?  And how? Calculating the determinant gives $(a^2+b^2+c^2+d^2)^2$? I need to calculate the following determinant in order to prove the following equality:  $$\det\begin{pmatrix} a &amp; b &amp; c &amp; d \\ -b &amp; a &amp; -d &amp; c \\ -c &amp; d &amp; a &amp; -b \\ -d &amp; -c &amp; b &amp; a \end{pmatrix} = (a^2+b^2+c^2+d^2)^2.$$  I tried using Gauss-algorithm to get an easier matrix, but I'm not sure if I did it correctly.  Calling the $4$ lines $I$, $II$, $III$ and $IV$, I did:  (1) $II \cdot a$  (2) $III \cdot a$  (3) $IV \cdot a$  After this I did:  (4) $II' + I \cdot b$  (5) $III' + I \cdot c$  (6) $IV' + I \cdot d$  So finally I got the following matrix:  $$\begin{pmatrix} a &amp; b &amp; c &amp; d \\ 0 &amp; a^2+b^2 &amp; bc-ad &amp; ac+bd \\ 0 &amp; ad+bc &amp; a^2+c^2 &amp; cd-ab \\ 0 &amp; bd-ac &amp; ab-cd &amp; a^2+d^2 \end{pmatrix}.$$  I thought this would make the determinant a bit easier, unfortunately I must have done something wrong. Is multiplication with single lines allowed as I have done it?  Thank you very much. How to convert a currency string to a double with jQuery or Javascript? If there is a unique left identity, then it is also a right identity Let $(R,+,\cdot)$ be a ring, and $e \in R$ be an element such that $ea=a$ for all $a\in R$. I'm trying to prove that if $e$ is unique with this property, then $ae=a$ for all $a\in R $.  So far I have $e^2 = e$ (using uniqueness), but I am stuck. I saw a proof of this fact for groups which used the existence of inverses, which we don't have here. I wonder if the result is really true here. Can someone help? Thanks. "Give him a box that everyone knows what it contains."  Is this correct English? It sounds wrong to me. nvidia-libopencl1-331 has to be removed before installing WINE I want to limit some users daily computer usage on the family PC. Currently we only have one user account set up on it, but I could create new ones. So Is there a way to set daily time limits for user on a windows 7 PC? Ideally I would like to set up it up for 2 hours on weekdays and 3 hours on weekends. Why does virtualbox only have 32-bit option, no 64-bit option on Windows 7? I have downloaded and installed the newest  for my Windows 7 (64-bit OS), but when I want to install 64-bit Linux, the New->Create Virtual Machine only displays 32-bit option, no 64-bit option. Could anyone give any clues about this issue? Thanks very much in advance! Netgear WNA3100 wifi dongle not recognized How can I redirect the user from one page to another using jQuery or pure JavaScript? This morning after the new Fallout Shelter update (1.2), I saw a mysterious stranger hiding in one of my rooms. When he is tapped  there is a sound cue and he disappears in a puff of black vapor.   Does anyone know what's going on here?