Git
20 Useful Git commands
Git for Everybody (course link)
- Common git commands and options from gpt4:
- Common order of Git commands for a new project/repo
- Three step process for pushing local changes to online repository:
- If you want your changes to be approved by a collaborator, you should create a Pull Request on GitHub. Here are the steps:
- Workflow best practices
- how to create a new branch
- Intro to setting up a new repository - screenshot from Github:
- Merge commit vs squash and merge vs rebase and merge:
- git fetch vs pull
- how to merge main into your branch
- git merge origin/main vs git merge main
- how to rename a branch
- how to split up a PR into smaller PRs
- Github Actions workflow
- gitIgnore files
- Cloning a repo locally resources: