Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:56:14+00:00 2026-05-25T10:56:14+00:00

I created a 2nd branch on my master git called staging and check it

  • 0

I created a 2nd branch on my master git called staging and check it out. This was because i was getting a bunch of untracked files and new files added message. I got rid of them in the new branch using git clean. This also updated my original branch as well which I believed should have been independent of my changes on the other branch. Any clues regarding that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:56:14+00:00Added an answer on May 25, 2026 at 10:56 am

    Branches only store files you have committed. If you checked out another branch with a dirty working directory, the original branch is not altered to store that state. Using git clean operates on your working directory, and your working directory is a completely independent thing from a branch.

    Look at git stash if you want a way to store changes to the working directory without creating a proper commit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created 2 columns. The 2nd is 240px wide and the 1st takes all
I have created this page and when you load the page you see there
I created a php page which print this from the database [{sha_id:2,sha_text:This is 1st
I created this fiddle so that you can see what i am trying to
I have created an Oracle table with an indexed varchar2 column, called 'ID'. A
My ComboBoxItems are created in run-time by C# code. I can't figure out how
I have created mylist that reads out: [('GCK', '3e-12'), ('ist', '6e-30'), ('iso', '5e-15'), ('tig',
I've created a DLL to a project in Visual Studio 2010. I'm using this
This is only the 2nd time I've tried to use log4net. This is a
I've created my simple application. When I list all files and directories from .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.