Category "git"

How to "time travel" git repository back in revisions?

Is it possible to completely revert git repository to previous X revision on bitbucket so that it doesn't keep any changes after that X revision and doesn't con

GitHub authentication failing over https, returning wrong email address

Initiating a push or any other action with GitHub from the command line (over https, not ssh) that calls for the username and password not only fails but, when

git push heroku master - no error messages but changes not displaying on web app

After installing the devise gem to create users on my web app, my changes are not appearing on the live app. I believe I am running the correct code in termina

Spring maven dependency issue

I have a problem that my pom.xml throw an error ArtifactTransferException: Failure to transfer org.springframework:spring-tx:jar:3.2.4.RELEASE from http:

VS Code on Windows - git push results in Permission Denied (publickey)

Running VS Code 1.0.0 on Windows, trying to push to bitbucket using SSH auth. Issue is similar to: To use <git push> on Visual Studio Code, but show "Cou

How do I update the password for Git?

I'm using BitBucket with Xcode and Git for version control, and recently I changed all of my passwords (thanks Adobe!). Unsurprisingly, I'm no longer able to p

How to debug Syncing lock on pushing the current branch to Visual Studio Team Services

Last night I committed to local repo just fine but then when pushing up to Visual Studio Team Services (previously Team Foundation Service, not Server), the com

How do I remove the cruft at the start of my posh-git window title?

I'm using posh-git for my powershell window, and the prompt is perfect: S:\Repos\DevTools [master ≡ +1 ~2 -0 !]> But the title of the window has ext

Git has stopped working after installing VS 2022

After installing the new Visual Studio 2022 the built-in Git support has suddenly stopped working. For one of the projects I am seeing only a submodule instead

React native init android,ios and app folder missing

Missing android,ios & app folders and index js files I'm using react native v 0.1.10 in windows 7 OS

'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

I am not able to clone or push to a git repository at Bitbucket in Eclipse: It's weird, because a day before I didn't have any problem. I have downloaded the

How can I save username and password in Git?

I want to use a push and pull automatically in Git Extensions, Sourcetree or any other Git GUI without entering my username and password in a prompt, every time

Short flag for `git push --force-with-lease`?

I've begun using git push --force-with-lease rather than --force in most cases for the additional branch protection: git push --force-with-lease vs. --force I m

GitHub Actions Failed to Deploy changes to Heroku

I am using GitHub Actions to Deploy my JavaScript to Heroku and it is working fine as expected. However, when my GitHub Repository is recently updated my GitHub

package.json and remote git repository

In my package.json I have defined a GitHub repo as a dependency. "dependencies": { "react": "^16.3.0-alpha.1", "react-native": "0.54.0-rc.3", "re

I can't checkout a specific branch, "detached HEAD state"

Me and my friend has a repo which he created. He then created a branch called "lexer" for us to work on. The problem is that while he can switch forth and back

Unable to initialize Git; AggregateError(2) Error: Unable to find git Error: Unable to find git

Iam getting this in my visual studio code no matter how many time I try to reinstall it

How to merge specific files from Git branches

I have 2 git branches branch1 and branch2 and I want to merge file.py in branch2 into file.py in branch1 and only that file. In essence I just want to work on

How to merge specific files from Git branches

I have 2 git branches branch1 and branch2 and I want to merge file.py in branch2 into file.py in branch1 and only that file. In essence I just want to work on

Going back to a previous commit in Github Desktop

I am trying to use GitHub Desktop (i.e. the GUI application - NOT command line) to go back to a previous commit (on the same branch). Something that I would hav