I created a new remote repository and tried to use git push -u origin master command to push my local files into the new repository the first time after I add i
I just configured Gitlab with a deploy key so that it doesn't ask for a username and password every time—but when pulling, it still fails with the followi
I want to be notified by email each time new commits are made to the master branch on our project. Found this and know to do what it says under the 'Add a custo
is there a way to get a list of all files that have been edited in a commit using git? the info I would need are: file1 edited file2 deleted file3 edited file
While configuring git I ran these two commands: git config --global user.name "My Name" git config --global user.email "[email protected]" However, I doub
I wanted to put my local code into a GitHub repository. I created a repo on GitHub and tried cloning with HTTPS. The clone was taking a moment but the folder wa
I cloned my company project repo using HTTPS, I want to migrate into SSH because it conflicts with my personal git account. how can I migrate into SSH instead o
I have a GitHub action workflow where I am doing a merge of various different source branches into target branch main. Here is a test workflow to read the value
Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master w
When I see my branches in a local repository with git branch in the terminal it prints only one, which is master But when I go to the gitlab page I have two bra
What is the use case of git reset -p and then using "e" option to edit an applied hunk before resetting it ? I tried playing around with the command but all e
I have four branches lets say A B C D. I worked on branch B for some function and created stash. This feature I also want in branch A and D . Is there any wa
Today I fork a project into my github from https://github.com/bhlx3lyx7/incubator-griffin/tree/master. When I use git clone command like this: git clone git@git
I am setting up project in Jenkins where I have to pull code from bitbucket cloud. I am seeing errors in Jenkins. Thing is Jenkins is unable to connect to bitb
I'm trying to get a Git Hub pages blog to work (https://vcedgar.github.io/CREU-Poly-17/), but when I go to the link my posts are supposed to be on the link does
I'm having trouble to understand how to deal with the following scenario: Feature A is committed to master as commit A. We are ready for release v1.0.0 so we t
I would like to create GitHub action that is triggered by push on specified branch X. This action will push/cherry-pick changes made on branch X to other branch
I'm trying to force push a rebase of a feature branch to a remote repository. To be a bit safer, I'm trying to use --force-with-lease to make sure no other chan
I am using git bash on windows 10 which was recently updated to creators update. whenever i am trying to switch between branches i get following thing $ git f
I've updated git to its latest version (2.29.0) and I'm using ZSH 5.8. I used to switch between branches with git checkout remote_br<tab> to quickly switc