Summary How do I get the name of the current git tag in an Azure Devops Pipeline YAML-file? What Am I Trying to Do? I am setting up a build pipeline in Azure
I would like to obtain the last 10 commits using git log specifying the path of my repository. I used the option -path but I have "is outside repository" error
I created a worktree using git worktree add and it was working as expected for a few days. Today, I wanted to check out some code at the previous revision, so I
I am trying to set up git on my terminal, and need it to open up Sublime text when I use a git commit command, so that I can add a note to my commits. If I type
When I run git push heroku main, I'm getting this. To let you know that I this is my second project I'm trying to push to heroku. I already pushed a project fol
In SourceTree, when a file is renamed then in commits it is displayed with the icon and the new name. But how do I find the old name in SourceTree? Here I chan
I want to fetch from two git repositories in yocto, but I get an "conflicting revisions error. The code I use is like this: SRC_URI_append = " git:///home/proje
I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I g
To compare individual files between many releases, I want to keep track of the first release where a file has changed, per file. I want to log the first tag for
I want to configure jenkins so that it starts building if a new tag is released in any branch of an git repository. How do I configure this behaviour? Triggeri
So, we frequently optimize clones by effectively cloning with --single-branch. However, we are then unable to get additional branches later. What is the differe
I'm trying to add 2 ssh keys in my pc to work with 2 gitlab accounts, I created 2 pair of keys and made this "config" file: # Compte Perso Host gitlab.com-perso
I have a number of repositories using different Github URL formats. I would like all repositories to always fetch from Github over HTTPS, and to push over SSH.
I have a local git repo with many commits. I created an empty repo in github (not initialized with any files). $ git remote add origin https://github.com/bar/f
I would like to get this kind of output with git command line: bcfd649de8850e3bfc9584eb12be8fe136ca6985 3 files changed, 8 insertions(+), 1 deletion(-) I'm c
We sign each commit with GPG2 for security purposes. Usually this involves a full-terminal-window "popup" asking you to enter a password after running git commi
Is there a good way to explain how to resolve "! [rejected] master -> master (fetch first)'" in Git? When I use this command $ git push origin master it d
To fetch the latest commit from branchName, we run below code: treeMapData = git(branch: branchName, credentialsId: credential, url: "${gitLabServer}/${project
I am using macOS version 11.2.2 BigSur. I don't seem to be able to create a GitHub repository on the web (I am using safari). The button is greyed out or you sa
When trying to git status I get the following git status fatal: not a git repository: D:/path/path/path/.git/worktrees/horus_app_v100 the path worktrees/horus_a