I am working on a small project with gist and since it is growing I would like to put it on github. Let’s suppose that: my gist repo is at: https://gist.github.com/1234 my new (empty) repo is at: https://github.com/ChrisJamesC/myNewProject The ideal solution would be one that pushes my changes on both the gist and the github […]
I’ve moved a bunch of files around manually without thinking, and can’t find a way to get git to recognize that the files are just moved and not actually different files. Is there a way to do this other than removing old and adding the new (and thus losing the history), or redoing all the […]
i’ve got a question Situation based on gh-pages My project uses preprocessors and another difficult staff, so, my project stucture looks as follows: master branch ./-| /src /node_modules /public-| /js /css /etc index.html /etc package.json etc all code sources in src folder, compiled – into public folder. public folder also in .gitignore I would like […]
How does git detect a file modification so fast? Does it hash every file in the repo and compare SHA1s? This would take a lot of time, wouldn’t it? Or does it compare atime, ctime or mtime?
I want to display the hash of the current git commit in the browser so that testing team (which does not have an access to run heruko commands) will be able to include the corresponding commit hash in bug reports. First I tried grit, but something is broken and it doesn’t work on Heroku (on […]
I created an Android project, added it to my git repo, comitted and pushed my clone to the master. Later I tried checking out the project and Eclipse complained about missing src folders. I checked my repo and the master repo and the src folders are missing (Im sure they were there when I created […]
My .gitignore file isn’t working for some reason, and no amount of Googling has been able to fix it. Here is what I have: *.apk *.ap_ *.dex *.class **/bin/ **/gen/ .gradle/ build/ local.properties **/proguard/ *.log It’s in the directory master, which is my git repo. I’m running Git 22.214.171.124 because I’m on a MacBook running […]
There’s been a lot of questions about adding support for symlinks on Windows. But, what actually happens when I clone a repository with symlinks on Windows?
I am using Bower to install several libraries. For demonstration purposes here, I am installing bootstrap. Regardless of the package, I receive the following errors: C:\Scott>bower install bootstrap bower not-cached git://github.com/twbs/bootstrap.git#* bower resolve git://github.com/twbs/bootstrap.git#* bower ECMDERR Failed to execute “git ls-remote –tags –heads git://github .com/twbs/bootstrap.git”, exit code of #128 Additional error details: fatal: unable to […]
Yesterday, I pushed to my fork of ConnectBot on GitHub. I pushed once, realized that I hadn’t made the change the way I wanted, redid the commit and pushed again. Now, GitHub has both commits: https://github.com/nylen/connectbot/commit/1cd775d – the first, “bad” commit https://github.com/nylen/connectbot/commit/987671c – the one I want to keep My master branch is only tracking […]