Questions tagged [git-refspec]

Use git-refspec for questions related to the the mapping between a local branch name and a remote branch name.

References

37 questions
0
votes
1 answer

Jenkins git Refspec to build master and any v* branches

Our developers use temporary branches but I only want to build any commits to master and any v* branches (e.g. v1.0, v1.0, v1.1, etc.) I am trying the following in the Refspec field: +refs/heads/master:refs/remotes/origin/master…
carl1jenn
  • 1
  • 2
0
votes
1 answer

Git: How to get all `remote` branches locally, pointing to their respective `commits` as on remote?

I recently cloned a repo from remote onto a new machine. The remote has 2 branches master & dev. After cloning, local has only remote's master branch, no dev found. On remote, dev has merged with master and master is like 2 commits ahead of…
dkjain
  • 831
  • 1
  • 9
  • 36
0
votes
1 answer

Jenkins Pipeline - Git Plugin 3.1.0 - rawRefSpecs not working

I am using Jenkins with the Pipeline Plugin and the Git plugin version 3.1.0. According to this ticket: https://issues.jenkins-ci.org/browse/JENKINS-40908, this feature is part of the 3.1.0 version. I am nevertheless unsuccessful with setting the…
-1
votes
1 answer

Lib2GitSharp: Git Pull (e.g. git pull origin main)

I'm looking for a code snipping to archive the git pull with Lib2GitSharp. Imagine you are on a branch feature/1 and you want to pull the latest changes from main. If have the following code up to now: var mergeOptions = new…
JoJ
  • 133
  • 1
  • 7
-1
votes
1 answer

Github problem loading files > 100MB failed to push some refs to github directory

I have few files(csv and ipynb) that I want to upload on my Github. Git bash terminal git lfs install git lfs track file_name.csv git add .gitattributes git commit -m ".gitattributes" git remote add origin…
noob
  • 3,601
  • 6
  • 27
  • 73
-1
votes
1 answer

Laravel + Angular project commit error: src refspec master does not match any

There is a project that is coded using angular and laravel. I downloaded it from server to my local. After doing some cleaning, tried to commit to git. But I see the same error everytime which I specified on header. After some tests, when I was…
biyro2
  • 55
  • 8
-2
votes
1 answer

Unable to push branch after commit

my push / pull options are not highlighted after i commited my change in RSTudio, why? screenshot If I do git push -u origin master, I get error: src refspec master does not match any error: failed to push some refs to 'https:/... My Github desktop…
Mrinmay
  • 1
  • 5
1 2
3