- Use keyboard shortcuts to move this browser window to the left side of your screen and your terminal in the top right corner.
- Fork this repository.
- Clone your copy of the repository to your local machine.
- Open the repository in VS Code. Use a keyboard shortcut to move VS Code to the bottom right corner of your screen.
- Create a new file in that directory called
github_cfu.md
. Add some notes about all of the git commands you know in that file. - Add and commit your work, then push those changes to GitHub.
- Now, show how you would remove the remote origin.
- Create a new remote repository in GitHub and connect your local repository to that one.
-
git init: Iniate git for directory
-
git add: Add changes
-
git status: Check status of repository
-
git diff: Check changes from last commit
-
git commit -m "": commit changes with a message of change
-
git log see history of commits
-
git remote -v: Check git remote connection
-
git clone: Copy repository
-
git push -u origin main: Push repository to Github
-
git remote remove origin
-
git remote add origin [insert SSH code here]
-
git branch -M main
-
git push -u origin main