Difference between revisions of "Git push"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
* [[Make Local Changes and Update remote Repositories]]
 
* [[Make Local Changes and Update remote Repositories]]
 
* <code>[[git push --follow-tags]]</code>
 
* <code>[[git push --follow-tags]]</code>
 +
* <code>[[git config]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 09:27, 22 November 2020

git push update remote refs along with associated objects

https://git-scm.com/docs/git-push
git push -u origin master
git push origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 245 bytes | 245.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://gitlab.yourdoain.com:2224/project/project_test.git
* [new branch]      master -> master
git push -u origin master
ssh_exchange_identification: read: Operation timed out
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights
and the repository exists.


touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

Related terms

See also

Advertising: