coffee-notes — Ch.3 · Put your own project online
Exercise 3 of 9
Before you start
Remotes
A remote is another copy of the repository, usually on a server, saved under a short name. By convention the main one is called origin.
A repository you started with git init has none until you add it.
- git remote add <name> <address>
- save a server address under a name
- git remote -v
- show the remotes and their addresses
- git push -u origin <branch>
- first push of a branch
You can reopen this any time with “Lesson”.
# Coffee notes
Graph
- f6c6dd6 Start collecting coffee notesHEAD → main