I have a use case where I am replicating the same code in a few files, so what I'd like to do is create a common file with the base code while all the ...
I have a use case where I am replicating the same code in a few files, so what I'd like to do is create a common file with the base code while all the ...
What's the behavior of git push --force when no upstream branch exists? Will I get something like fatal: The current branch branch_name has no upstre ...
I'm using JGit 6.5.x with Java 17. I have a remote repository that is huge (gigabytes), but I only need temporary access to a single subdirectory (e.g ...
This question was migrated from Magento Stack Exchange because it ca ...
My Scenario is this : From master branch to feature branch1 , add changes to branch1 then create another branch from branch1 called branch2, then add ...
We have a git master branch. From this branch we create feature branches and merge those feature branches into master. We need now a 'temporary' bran ...
What does git cherry-pick branch_name do? Does it cherry-pick only the latest commit from the branch with the name branch_name onto my current branch ...
I misstyped "git remote add origin ...". Actually, i typed "git remote add orginin". How can i change it back to origin ? I rather not delete my loc ...
I have a branch of local project changes based on a foreign upstream branch. The branch has got increasingly hard to maintain as the changes age and t ...
If I have a local branch in git with commits A, B, C, D, E and I choose to delete it using but I save the commit IDs before deleting, will I be abl ...
Working with the react project. Here is my project sturcture Here is my package.json git is outside the frontend folder and I need to install hu ...
I am trying to clone git repository where I am getting below error 'https://dev.azure.com SSL certificate problem: self signed certificate in certific ...
When you create new CI pipeline you can add agent job and agentless one. My first question is: why is necessary to select a repository while you crea ...
I have 3 branches. dev, master, master_copy. Now I am on the master branch and a need cherry-pick commit from dev branch to master_copy WITHOUT checko ...
Recently I have been trying to setup KDiff3 as mergetool. So I fetched the program, installed it and wanted to set it as GIT diff and merge tool. In ...
I have a Cypress code that contains sensitive header that I wish to be masked/decrypted cy.request({ method: 'GET', url: 'https://sample-url' ...
Not sure if there is a way to use git blame across all files to check file history for all files in the repo and see if your user has edited it before ...
I would like to delete some files from a specific commit or revert the commit in Git. I accidentally added some files to my commit and I want to disca ...
I have a GIT repo in which I have two folders which are managed with some GH actions and forwarded to GH pages. The first folder (name it data/) conta ...
I created a workflow file in master branch and all other release branches and test/devbranches branched out from master, got their own this workflow f ...