Skip to main content
Active reading. [ <http://en.wikipedia.org/wiki/Uniform_resource_locator>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could have a different alias for another developer.

Remotes are simply an alias that store the urlURL of repositories. YouYou can see what urlURL belongs to each remote by using

git remote -v  

In the push command, you can use remotes or you can simply use a urlURL directly. An example that uses the urlURL:

git push [email protected]:git/git.git master

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could have a different alias for another developer.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using

git remote -v  

In the push command, you can use remotes or you can simply use a url directly. An example that uses the url

git push [email protected]:git/git.git master

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could have a different alias for another developer.

Remotes are simply an alias that store the URL of repositories. You can see what URL belongs to each remote by using

git remote -v

In the push command, you can use remotes or you can simply use a URL directly. An example that uses the URL:

git push [email protected]:git/git.git master
fixed typo
Source Link
Josh1billion
  • 14.9k
  • 8
  • 42
  • 48

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could be have a different alias for another developer.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using

git remote -v  

In the push command, you can use remotes or you can simply use a url directly. An example that uses the url

git push [email protected]:git/git.git master

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could be have a different alias for another developer.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using

git remote -v  

In the push command, you can use remotes or you can simply use a url directly. An example that uses the url

git push [email protected]:git/git.git master

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could have a different alias for another developer.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using

git remote -v  

In the push command, you can use remotes or you can simply use a url directly. An example that uses the url

git push [email protected]:git/git.git master
added 34 characters in body
Source Link
nbro
  • 16.1k
  • 34
  • 122
  • 219

origin is the originalan alias on your system for a particular remote repository, by convention it is the 'primary' centralized. It's not actually a property of that repository as well.

By saying git push origin branchnamedoing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin, and there can: in fact the same repository could be multiple remote repositorieshave a different alias for another developer.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using git remote -v.

git remote -v  

In the pushpush command, you can use remotes or you can simply use a url directly. An example that uses the url: git push [email protected]:git/git.git master

git push [email protected]:git/git.git master

origin is the original remote repository, by convention it is the 'primary' centralized repository as well.

By saying git push origin branchname you're saying to push to the origin repository. There's no requirement to name the remote repository origin, and there can be multiple remote repositories.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using git remote -v.

In the push command you can use remotes or you can simply use a url directly. An example that uses the url: git push [email protected]:git/git.git master

origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing

git push origin branchname

you're saying to push to the origin repository. There's no requirement to name the remote repository origin: in fact the same repository could be have a different alias for another developer.

Remotes are simply an alias that store the url of repositories. You can see what url belongs to each remote by using

git remote -v  

In the push command, you can use remotes or you can simply use a url directly. An example that uses the url

git push [email protected]:git/git.git master
added 34 characters in body
Source Link
nbro
  • 16.1k
  • 34
  • 122
  • 219
Loading
Source Link
doelleri
  • 19.7k
  • 5
  • 66
  • 70
Loading