Jump to content

Git: Staging All Untracked And Modified Files


skaterdav85

Recommended Posts

Is there a way to stage all untracked and modified files using Git? I cant seem to find this anywhere. I know that if you do:

git .

it stages the entire folder I can stage each one individually but it is kind of a pain when the files are in different folders.

  • Like 1
Link to comment
Share on other sites

I know it's covered in this presentationhttp://yuilibrary.com/theater/jenny-donnelly/f2esummit2011-donnelly/ and I told myself to remember it because I want to do it all the time, but I haven't gotten a chance to go back and see it again. or it might be a way to commit/push in one fell swoop, but I think your answer is in there.

Link to comment
Share on other sites

Woa, I havent heard of this. I have a mac and after you get used to the terminal, it's not all that hard to use. Looks like this is only for PC, which I may use whenever I'm on a PC. I've tried Tower before I was familiar with the terminal and I thought it was pretty good. Except you have to pay for it so I just went with learning the commands, which is probably a more valuable skill to have anyways.

Link to comment
Share on other sites

The GitHub for Mac documentation says you can use it for any Git repository: "... if you wish to use a non-GitHub remote, it will work just fine. Set the remote manually in the settings tab and everything else should work as expected."

Link to comment
Share on other sites

Woa, I havent heard of this. I have a mac and after you get used to the terminal, it's not all that hard to use. Looks like this is only for PC, which I may use whenever I'm on a PC. I've tried Tower before I was familiar with the terminal and I thought it was pretty good. Except you have to pay for it so I just went with learning the commands, which is probably a more valuable skill to have anyways.
http://gitx.frim.nl/
Link to comment
Share on other sites

Actually, when I installed git (from, I believe, here: http://git-scm.com/), it came with a a program called Git GUI which is surprisingly good. If you want an excellent free reference, there is link to a PDF here: http://w3schools.invisionzone.com/index.php?showtopic=40026&view=findpost&p=221950 The Tower client looks pretty sweet, but its mac-only and not free. Come on, shouldn't you have a free GUI for a free, open source VCS?

Link to comment
Share on other sites

Thanks for the resources! I actually just installed Git on my work computer (a PC) and I noticed there was a Git GUI program along with Git Bash. I just used Git Bash since I am familiar with the terminal commands but maybe I should give the GUI version a shot. How do you like it? Easy to use? I guess for macs we're just left w the command line, which is fine i guess but it was a bit to learn when i first started. Thankfully, im over that hump now.

Link to comment
Share on other sites

The Git GUI really simplifies a lot of things. I stumbled through using the Git Bash, and it was a tremendous learning experience. But I still prefer GUI tools over it at this point, for the more complex procedures.

Link to comment
Share on other sites

  • 5 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...