-
Notifications
You must be signed in to change notification settings - Fork 0
working with git
Sanjiv edited this page Jul 4, 2023
·
10 revisions
As of August, 2021, github requires SSH authentication for usage. One can still have user/pwd for UI but SSH must be setup for console.
ls -la ~/.ssh/
ssh-keygen -t ed25519 -C "[email protected]" (enter for default values)
add the public key to the SSH section of your github
add the ssh key to the local ssh agent (ssh-add -K /Users/you/.ssh/id_rsa)
Reference: https://www.atlassian.com/git/tutorials/git-ssh
Update the branch to contain master changes before PR & Merging
git checkout feature/your-branch
git fetch origin/master
git rebase origin/master
- git rebase origin/master --continue
👍 👍 Always clone from ssh link
👎 git files are case insensitive