Loading tutorials
git add and git commit, and you are comfortable in a terminal. You do not need a GitHub account yet.2 min readuser.name and user.email set, and that you are comfortable with git add and git commit. You also need a GitHub account and a local repository with at least one commit. The previous chapter explained what a remote is. Here you create the remote2 min readuser.name and user.email set, a local repository with at least one commit, a GitHub account, and an empty repository on GitHub. You will learn what the two URL forms look like, how each one authenticates, and how to pick one.3 min readuser.name and user.email, a GitHub account, and an empty GitHub repository whose HTTPS or SSH URL you have copied. Authentication proves to GitHub who you are when you push. The method you pick must match the URL type you chose for the remote.3 min readgit status shows a clean working tree on a branch with commits, you are ready.3 min readuser.name and user.email set, you can make commits with git add and git commit, and you have a local repository with at least one commit. It also assumes you have an empty GitHub repository and have added it as origin with git remote add. 3 min readorigin added with git remote add, and working authentication (SSH key, token, or GitHub CLI login). Here you send your first branch to GitHub.3 min readorigin, and working authentication. The previous chapter covered pushing your first branch. Here you will look at what the -u flag changed.2 min readgit remote add, and pushed with git push -u. The GitHub CLI (gh) can do all of that in one command. This chapter shows how that command works and where it fails.2 min readgit remote add and git push -u.3 min readorigin remote already added, and a basic idea of what a remote is. You should also know the difference between HTTPS and SSH remote URLs. Here you will learn the commands that manage remotes after the first setup.2 min readorigin, and that you know git remote -v, git fetch, and git merge from earlier chapters. Here you add a second remote to a repository and use it to stay current with a project you forked.2 min read