Questions tagged [refspec]
25 questions
1
vote
1 answer
Bitbucket Pull Request Jenkins Job
I want to trigger a job in Jenkins whenever a pull request is created in Bitbucket. I have used Bitbucket Pull Request Builder for this and set up the refspec and branch specifier as follow:
Refspec:…

Anand Tripathi
- 14,556
- 1
- 47
- 52
1
vote
1 answer
Git push Refspecs: `refs/heads/*:refs/heads/origin` vs `refs/heads/*:refs/heads/*`
Which push Refspec (Git) is correct? Or both are correct? What is the difference?
refs/heads/*:refs/heads/origin/*
refs/heads/*:refs/heads/*
I prefer (1) because it references remote name (origin), and I don't understand what (2) means (but I see…

Code Complete
- 3,146
- 1
- 15
- 38
1
vote
1 answer
GIT: remote reposity, difference between hard link and file://
I'm currently reading the book Version Control with Git, by Jon Loeliger.
It talks about the 2 subtle differences between hardlinks and the file://:
As you have seen, the simplest form of Git URL refers to a repository on a local file-
system, be…

Frederic Nault
- 986
- 9
- 14
1
vote
3 answers
IntelliJ IDEA and specifying GIT refspecs
I've been using Eclipse with GIT and Gerrit for a long time but decided to give community edition of IntelliJ IDEA (12.1.3) a try. I'm able to fetch and pull changes from our repository but I can't find an option in IntelliJ where I can specify…

MrKY
- 75
- 1
- 5
1
vote
3 answers
Hide git notes in TortoiseGit Log Message dialog
I'm working with Gerrit and TortoiseGit. When I show the log, it shows many commits with the comment
Update notes for submitted changes
They are not connected to my working commits. It looks like they come from the refs "notes/review". How can I…

wutzebaer
- 14,365
- 19
- 99
- 170
1
vote
2 answers
Is it possible to push a git repository in sections?
I have a super slow connection right now, and I need to push a new branch into my company's git server. With SVN, I am able to commit/push files to a remote SVN server one at a time if I'd like. In the past, when I had a slow connection, I was able…

Byron Sommardahl
- 12,743
- 15
- 74
- 131
0
votes
2 answers
can "remote branch", "remote-tracking branch" and "tracking branch" have different names?
I am playing around with git.
Current status:
1) my local repo has one branch master_local.
2) the remote repo has one branch master_remote. (the remote's name is hehe_server)
3) my local .git/config looks like
[core]
repositoryformatversion =…

halfmoonhalf
- 107
- 7
0
votes
1 answer
Push error to a remote git repository
I set up a git repository on a VM which is working pretty fine. I cloned the repository on my local computer and tested it with a simple file, all worked.
What I want to do now is to commit some files from my development directory to my git…

Ecterion
- 161
- 3
- 19
0
votes
1 answer
Git refspec for fetching everything from remote but keep local commits (LibGit2Sharp)
I'm managing git repos with LibGit2Sharp. I have a bare git repository, cloned from remote A. Now I'd like to fetch all changes (i.e. all heads and tags) from remote B and do so:
repository.Network.Fetch("git-url", new[] { "+refs/*:refs/*" })
Or…

Piedone
- 2,693
- 2
- 24
- 43
0
votes
2 answers
'fatal: remote part of refspec is not a valid name in ..' error when setting up Git
I'm trying to setup git with WPengine following the instructions here: (http://wpengine.com/git/#production) - but when I get down to the deploy step, I get the following error:
% git remote -v
production …

user1406947
- 1
- 1
- 2