I am trying to use SourceTree GUI. I've successfully created a local repo, committed some adds, removes, and mods, also successfully pushed to my remote.
My problem is, everytime I try to commit, the 'Staged Changes' file list in my commit window is empty, and I must manually drag and drop the content of 'Working Copy Changes' filelist to the 'Staged Changes'.
I figured out, if I issue the 'git add .' command in my terminal, then the very same thing happen.
Is there any way not to do this allways before my commits?
Git is a linux program, Sourcetree is a git GUI, Github is host for software repositories that can be managed/downloaded via git.
Atlassian Sourcetree is an example of of a Git GUI that can be used to visualize the Git workflow and use version control without touching the command line.
According to this answer from Atlassian, you can multi-select files (Cmd-A to select all) in the File Status View and once you've selected them, click 'Add' or press Cmd-+ (Shift-Cmd-=)
Alternatively, once you have pushed the Commit
button, the commit dialog has a checkbox to the left of the text Unstaged files
. If you check it, you will immediately stage all files that are currently listed as unstaged:
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