Tag: git

How to use PyCharm as a GIT diff tool from the command line?

On the PyCharm Help Website I see you can use PyCharm as a diff tool from the Command Line to compare two files. That’s awesome! However is there a way to take it a step further and use it as a git diff tool. So I can just type pycharm diff file_name.py and get the […]

Plastic SCM – Ignore directory on repository on initial sync to new workspace

I’m unsure if this is the right place to ask but I’m working remotely and started a new workspace and want to sync the repository. One of the folders has a few gigs of files in it and I want to ignore this folder completely to save me downloading the whole thing. Is this possible? […]

Execute hook on fetch into bare repository

There was a simple config with a bare central repository that had an ‘update’ hook script. Now it’s not central any more. It should poll central repository for changes. How to make the hook script work in this situation? One solution is to make an intermediate repository that will pull from central and will push […]

Visual Studio 2015 (VS2015) – Local Branch – Publish unavailable

I have a local git repository connected to a server instance on Codebase. I used the same repository in Visual Studio 2013 and didn’t have an issue with creating local branches that I could then publish to the server instance as I started to commit to that branch. After resolving the issues, I would create […]

Ability to set –no-ff option when merge pull request on TFS

I have noticed , a fix/patch is made for adding –no-ff option on pull-request merges on TFS https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/6073200-no-fastforward-merge-from-pullrequest But I am unable to find whats that fix/patch version is so that we can apply that to our existing TFS 2013 Any help is greatly appreciated

Git repo size increased post BFG Repo Cleaner use

I have cleaned my repo with BFG Repo Cleaner $ git clone –mirror ssh://git@example.com/some-big-repo.git $ java -jar bfg-1.12.8.jar –strip-blobs-bigger-than 100M some-big-repo.git Output from above command: SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Using repo : some-big-repo.git Scanning packfile for large blobs: 1064306 Scanning […]

Using git to transfer data via usb stick between Windows and Linux

I am trying to use git for the first time in order to transport my bachelor thesis that I am currently writing between a Windows computer at work and a Linux computer at home. Because I don’t have a server I would like to use a USB stick to store the shared repository. From this […]

videoplayer plugin not working for cordova/phonegap

I tried below plugins in cmd prompt which are not working: cordova plugin add com.moust.cordova.videoplayer cordova plugin add org.apache.cordova.videoplayer cordova plugin add https://github.com/moust/cordova-plugin-videoplayer.git Showing error: Registry returned 404 for GET on https://registry.npmjs.org/org.cordova.videoplayer Thanks for help in Advance!

Creating a library project in Android Studio + saving in a git repository + using as a dependency

I read a lot of tutorials about how to create an android library project, but non of them walked me through the entire flow of “Creating the lib” -> “Saving in a git repo” -> “Using as a dependency” For Creating the lib, I can either follow this tutorial (Option A) or create a project […]

GIT removing files in symlinked folders, adds them back on second run of git add -A

I have a directory structure as such: -main -sym-linked-dir some-file.txt some-other-file.bar -sym-linked-dir-2 -some-dir some-doubly-nested-file.foo -normal-folder spam.eggs pan.cakes hash.browns I do not have any symlinked files at all, just symlinked folders. Lets say I make a change to spam.eggs, I then go to the command line and do a git add -A – git will run […]

Git Baby is a git and github fan, let's start git clone.