Linked Questions

92 votes
5 answers
53k views

In git lingo, are origin and remote the same thing? Or does origin refer to the local directory? In the case of git push -u origin master: Which of the following interpretation is correct? "push ...
YCode's user avatar
  • 1,282
5832 votes
21 answers
6.8m views

How do I: Create a local branch from another branch (via git branch or git checkout -b). Push the local branch to the remote repository (i.e. publish), but make it trackable so that git pull and git ...
Roni Yaniv's user avatar
  • 60.6k
900 votes
17 answers
471k views

The short: is there a way to have a git repo push to and pull from a list of remote repos (rather than a single "origin")? The long: I often have a situation when I'm developing an app in multiple ...
Zorzella's user avatar
  • 9,101
1080 votes
6 answers
405k views

I've started playing with Git and have come across the terms "upstream" and "downstream". I've seen these before but never understood them fully. What do these terms mean in the context of SCMs (...
brendan's user avatar
  • 12.2k
235 votes
7 answers
151k views

I think I'm on the right track to understand the basic concepts of git. I've already set up and cloned a remote repository. I also created a server side empty repository, and linked my local ...
John Rumpel's user avatar
  • 4,615
263 votes
4 answers
358k views

I am very new to Git; I only recently created a GitHub account. I've just tried to push my very first repository (a sample project), but I'm getting the following error: No such remote 'origin' I ...
Vijay's user avatar
  • 3,582
112 votes
8 answers
64k views

When I run: git push origin master ...what is the meaning of origin in this context?
Ickhyun Kwon's user avatar
  • 1,733
42 votes
3 answers
14k views

Is there a way in git bare repository to push a branch that is not in HEAD right now? For example i have two branches: $ git branch * master another And i have two remotes set: origin and another. ...
Alexey Kamenskiy's user avatar
5 votes
2 answers
26k views

I am a newbie of git, I try to understand what is origin and origin/master in git, what does the origin means? where it is? and someone says it is remote branch, what is the remote branch?
user avatar
6 votes
4 answers
8k views

I'm trying to get my head around git mirroring. Given a working copy, how do I determine whether it is a mirror (or is mirroring) another repository? Cheers.
user5877732's user avatar
4 votes
3 answers
7k views

There seem to be at least 3 ways to do what sounds as the same thing. # 1. git remote add origin https://[email protected]/x/y.git # 2. git remote set-url origin ssh://[email protected]/x/y.git # 3. ...
not2qubit's user avatar
  • 17.7k
1 vote
2 answers
2k views

Git is great and I've been using it for a few years now as a basic user, but some things still puzzle me about the naming used. I'm hoping that someone can help explain what I'm doing in simple terms. ...
DAB's user avatar
  • 1,913
1 vote
2 answers
551 views

Assumming the convention "origin", "master". My local repository has a "master" branch. Is "origin/master" a mirror or a reference? Are there two types of remote repository in git? When I do a git ...
danilo's user avatar
  • 9,603
0 votes
2 answers
431 views

I am currently learning about Git, and have found many, in my opinion, conflicting definitions of what origin are. My current understanding of origin based on my tutorial, is that every time a file ...
the12's user avatar
  • 2,425
1 vote
2 answers
135 views

What exactly is 'origin' when we say git remote add origin urlOfNewRepository, or git push add origin master? Is it the name of the remote repository? If it is then what is it when we create a ...
user1906399's user avatar

15 30 50 per page