Sublime: what plugin is putting that next in my status bar? - sublimetext2

The status bar in my sublime text editor says:
git branch: fatal: Not a git repository: '.git'
How can I determine which plugin is generating that text?

Related

Why GIthub Folder Button broken?

I git pushed my projected to my Github page,
but a few important folder didn't seem to work and can't see the content.
And even when I download all folders in zip file, still nothings contained in it.
I mean, the start folder should contain all of my files and activated.
The original folder has full content, so I have no idea what to do.
Noghing errors thrown while I push those to Github.
The original folder has full content, so I have no idea what to do
The original folder start also has a .git/ subfolder in it.
That makes start a nested Git repository, which will be pushed to GitHub as this "gray (empty) folder", representing a "gitlink" (a special entry in the index), which is the nested repository root tree SHA1.
You would need to:
git rm start # no trailing stash
rm -Rf start/git # if you don't care about the start history
git add start
git commit -m "Add start content"
git push

Why isn't my push to git working on my Bootstrap template?

I am new to Bootstrap templates as well as Git. I made a github.io site, but when I pushed my code to git and open my site, my formatting is all wrong. When I open it through my browser, it looks how I want it to. Why isn't it formatting properly? What's happening?
Check your project for below scenario
Check and confirm you push to proper Branch
Check .gitignore file from your project root directory
Example
PATH\TO\YOUR\PROJECT\.gitignore
.gitignore file is look like
/vendor/*
/tmp/*
/logs/*
/img/downloads/*
That mean git will not push those files to your remote branch.
If .gitignore file have some directory to skip git tracking, Then remove the directory/files to allow tracking
After done! Try below command from your git command line.
git rm -r --cached .
git add .
git commit -m "Type Your Commit Message Here"

Mercurial: open earlier version of file in an editor?

Is there any way to quickly view an earlier version of a file (at an earlier revision) in an text editor?
Thanks
With command line Mercurial:
hg cat -r REV -o %s-%r FILE
edit FILE-REV
del FILE-REV
In TortoiseHG Workbench:
Select the desired revision.
Open the Revision Details tab.
Click the document icon (Show all version-controlled files in tree view)
Navigate to the file and right click it.
Select View at Revision.
Or starting TortoiseHG from command line:
thg filelog FILE
Right click the desired revision.
Select View at Revision.

Colouring new, modified, deleted etc. file names within PhpStorm

For some reason PhpStorm won't apply right colours to new, updated, deleted etc. files, neither in the navigation list nor in the tabs. I'm using GIT, PhpStorm 8.0.3 and OSX. As you can see below, all the file names are in white colour although the most of them are new and modified.
I already went through Where to change color for file names in tab row of PhpStorm, Phpstorm Git file colors, File Colors and File Status Highlights so does anyone know what else I should do to activate file name colouring?
EDITOR with new, edited, deleted files.
File before edit
File after edit
VCS 1
VCS 2
GIT status
inanzzz-MBP:sport inanzzz$ git status
On branch form-type-crud
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: src/Football/FrontendBundle/Resources/views/Default/index.html.twig
no changes added to commit (use "git add" and/or "git commit -a")
Your VCS1 screenshot indicates that Git integration is not correctly set for the project. Use the + button on the VCS integration window to tell PhpStorm where the root is.
It should look like this:

How do I get mercurial to show the diff during `hg com`?

Is there a way to configure hg com so that in the commit message file that pops up in the external editor, instead of just showing which files were changed (in the HG: lines) it actually shows the full diff? I'd rather view the output and compose my commit message simultaneously from the comfort of my text editor as opposed to doing hg diff on the command line separately beforehand.
As of 2016, it's possible to do this with the committemplate configuration option. Adding the following to an hgrc file will include the diff in the editor window inline as you type your commit message.
[committemplate]
changeset = {desc}\n\n
HG: {extramsg}
HG: user: {author}\n{ifeq(p2rev, "-1", "",
"HG: branch merge\n")
}HG: branch '{branch}'\n{if(currentbookmark,
"HG: bookmark '{currentbookmark}'\n") }{subrepos %
"HG: subrepo {subrepo}\n" }
{splitlines(diff()) % 'HG: {line}\n'}
See hg help hgrc and search for committemplate for more information.
Mercurial doesn't have that as a built-in feature, but it's easy to simulate in your editor (as launched by commit).
Here's an example using VIM: https://www.mercurial-scm.org/wiki/DiffsInCommitMessageInVIM
The hgeditor script https://www.mercurial-scm.org/hg/hg-stable/raw-file/tip/hgeditor provides further examples.
The basic jist is:
at editor launch run hg diff redirecting to a temp file
have your editor load both the commit message file and the diff
TortoiseHg does this out of the box: a top panel for the commit message and below that, a left pane listing the affected files and a right pane showing the diffs, one after the other.