Category "git"

Could not read from remote repository, in other words push rejectec

I'm trying to push my branch, made the necessary changes and made the commit. However once I press push on Android Studio, it tells me that Push is rejected and

How do I have permission to use git push in gitlab ci?

CI_JOB_TOKEN has only read-only access to repository, and I am able to have write access to the repository using the gitlab personal access token, but I need to

Remove commit from history without changing anything else (dates, committers)

I expected this to be as easy as interactive rebase, but I've noticed that rebase changes commit dates and committers. What would be the easiest way to remove a

Bitbucket Cloud recently stopped supporting account passwords for Git authentication

I have pushed the code in the morning it was working fine but now I'm trying to push code but getting this error: Bitbucket Cloud recently stopped supporting ac

Is there a way to undo detached HEAD state without undoing the work I've done while in detached HEAD state?

I'm in a detached HEAD state but have made a bunch of commits while in detached HEAD that I can't lose. Is there a way to undo the detached HEAD state without l

git checkout error: unable to read askpass response in Windows 10

Error occurred while cloning repository in Android Studio error: unable to read askpass response from 'C:\Users\User\AppData\Local\Google\AndroidStudio2021.1\tm

Redoing Git Commit

I have Git commit "Day 19" that doesn't have all the code I wanted to commit. Then I made a new commit with those new changes "Day 21". Is there a way to re-com

Are there some rebase best practices with multiple pushes?

I started a new job at the beginning of the year, whose git practices are different than what I am used to, and I keep running into problems. The documented pro

problem when fix error git : "Support for password authentication was removed", there are no github internet password in Keychain Access?

I installed git on my Mac and checked it on terminal by command git version, it showed me this : git version 2.35.1 So maybe it is ok. When I tried to push a f

Any way to avoid git checkout -f "warning directory is not empty"?

I have a git repository that contains multiple branch that diverged a lot. When I say diverged it means that each branch can contain new folder or submodule and

Github reads previously merged files as new file changes

Admittedly I don't understand Git well enough, so I'd really appreciate someone's help here. Situation: We are working off feature branches, branched from test

How to take changes from one remote branch to other remote branch

I'm working on a project and I cut a branch from a release_branch let's call my branch branch_A. My colleague also had cut another branch from same release bran

List files in which a word has disappeared

So, say I have two branches old_release (containing an old release) and new_release (containing a new release). In the old release there was a tool called cook,

Git checkout remote branch deleted locally

In one of my systems while working on a project, I made changes and pushed it. Now I have a new system with all the same ssh/user details, I cloned that project

What does *105 rebase-i 1/8 ?1 mean?

I get the following every time Im on my master branch. Does anyone know what it means? on master *105 rebase-i 1/8 ?1

Pushing git tag to ssh protocol type link failes in jenkins

I have a repo: https://github.com/Elydasian/gatling-example I have a pipeline in jenkins ready, that checks out that repo, and after some building and whatnot,

Git pre-merge-commit hook : How do I ignore a file during a merge?

Context I'm working in a complex git flow where some specific branches get specific submodules and some specific config files that require to be committed, but

Git: Merge Specific File from Specific Commit

I have one version of a file at commit "#abc123" and the current version of the same file locally. I want to MERGE, NOT REVERT, the two versions for only this f

Git not working properly in Android studio, not showing changes for XML files

I have been having an issue, git does not recognize changes on any XML file on Android Studio, for example, androidManifest.xml, or any XML file on the res fold

How to move a module from a project to its own separate project in intelliJ or git?

I have a gradle project with a structure like this: project2 -submod1 -submod2 -submod3 -submod4 I want to move submod2 to its own gradle project with its