I have a workaround of running these commands on the command-line myself, but it was nice when they worked in SourceTree.Įven better would be if I could double-click origin/master in the history and update my local master branch to that commit (no matter what branch I am currently on). git status -porcelain returns git status in an stable, easy-to-parse format. column list untracked files in columnsįatal: 'git status -porcelain=2' failed in submodule libs/external Ignore changes to submodules, optional when: all, dirty, untracked. Show untracked files, optional modes: all, normal, no. & echo 1 echo 0') do set HasChangesResulta but it does not work. With SparkleShare closed, I copied about 45 gigs worth of data which amounted to around 481. Based on your explanation I tried for /f 'tokens' a in ('git -C s status -porcelain findstr. Just recently set up SparkleShare on my mac (10.6.7) with 8 gigs of ram and have it pointing to a private git server with 800+gigs of free space. long show status in long format ( default) On branch master nothing to commit (working directory clean) Everything up-to-date. Because ERRORLEVEL is the same for git status I can't use it. git directory typically looks like: ls -F1 config description HEAD hooks/ info/ objects/ refs/ Depending on your version of Git, you may see some additional content there, but this is a fresh git init repository it’s what you see by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |