I have a git hand mirror on my disk and when I need to update my repo with git draw it gives me error message:
If you created a new repository, you may encounter the following error: fatal: No such remote 'origin'. To resolve it, add the remote origin URL: git remote add.
It furthermore gives me:
When I operate make menuconfig it gives me Linux version 3.5.7? What does this lead to? How can I update my repo?
GigamegsGigamegs
9 Solutions
Check the part you are on (
git part
), examine the configuration for that department (in./.git/config
), you most likely are on the incorrect part or your settings for it informs to combine with a (right now?) non-existent remote branch.vonbrandvonbrand
In my case, my nearby branch was not established to monitor the remote part. I experienced to by hand run:
After that next period you do a press perform 'git press -u' to set up appropriate tracking.
Mauvis LedfordMauvis Ledford
In my case, my local branch and remote department had different capitalization.
To resolve this I removed my nearby department
$ git department -chemical branch-name
, after that examined out the remote part again making use of$ git get
and$ git checkout Branch-name
.FeckmoreFeckmore
It's probable that somebody else on your group simply merged your department and deleted it (frequently performed after merging). You can make the part on the repo and try out again. It't occurs to me at my business every as soon as in a even though (bitbucket defaults to combine and remove).
Scott BiggsScott Biggs
In my situation (the typical caveat), I already experienced a department of the appropriate title so I just got to include
remote = origin
to my.git/config:ericPericP
In my case I experienced to contact the following commands manually:
(g) https://stackoverflow.com/a/13800341/741782
Area♦
antongorodezkiyantongorodezkiy
I experienced the same mistake when working out of drive room. After resizing the quantity, the error was eliminated.
Daniel AlderDaniel Alder
I got this concern owing to a covering problem that manifests itself on Windows.
My Git config looked like:
On the machine, both 'Bug' and 'pest' been around as part of several branches. Windows can only keep one of these at a time though, due to the file program mapping. Therefore, I manually up to date my config to suit the machine edition, which really solved the draw concern:
Grimace of Give up hopeGrimace of Despair
If the part is gone,
Then checkout master or whatever you need
M. G. M.M. C. M.
Not the solution you're looking for? Search other queries labeled git or request your personal issue.
I can't configure the git repository link in a method, that Jenkins could gain access to it.
under 'Task gt; Configure gt; Supply Code Management'I arranged the Database Web link to'git@shop:repositories/testproject.git'
I get this error:
the entry with that URL functions on a shell:
I was requested for a security password and it functions.
I related the exact same password to credentials in Jenkins to 'git/' and I also attempted 'git@store/'. Nothing worked.
Pleas notice, that this can be not about github, but about a regional git repository.
revise:
adding the club essential from the jenkins master to the construct slave, helped to obtain the construction working:
right now the plots are screwing up:
shop is certainly the jenkins professional, dilbert is usually the build servant. ssh from expert to slave functions.
any suggestions how to debug this?
Lörg Beyer
Jörg BeyerMörg Beyer
1 Reply
authentication functions via ssh. have you included the open public ssh-key of the jenkins user to the git-user on your git-server?
allow me know if you require guidelines on how to arranged up ssh-authentication and we'll edit this posting right here.
/EDIT:
glad you obtained it working.i appeared on the recognized jenkins internet site for a comprehensive manual on the ssh component of the construction, but i couldn't discover any.
so here's a fast overview - let me understand if this is definitely what you need.
- jenkins servant (the building machine) links to the git-server(jenkins grasp)
- building machine runs as jenkins consumer (at the.gary the gadget guy. jenkins@dilbert:$ )
- git-server runs as git consumer (age.h. git@shop:$ )
- jenkins@dilbert open public key desires to become positioned in git@store authorizedkeys
- run
jenkins@dilbert:/.ssh$ ssh-copy-id git@store
to duplicate jenkins@dilbert ssh public essential to the git machine
kindaleekkindaleek