Extra tips and resources relating to concepts covered in the workshop.
Got more tips that you don't see here? Submit a pull request!
You can choose to use SSH keys to access your repos instead of HTTPS. If you use SSH, you don't need to enter your username and password when you are pushing to remote.
More info: https://help.github.com/en/enterprise/2.15/user/articles/adding-a-new-ssh-key-to-your-github-account
Create remote first
Create a new repo or fork an existing repo in your Github account online. Then use git clone <repo.git>
to copy the repo to your local machine. (This is what we did in the workshop.)
Create local first
Locally create a new directory for your project, cd
to the directory, and enter git init
. This will turn your directory into a git repo with a .git
file. Add a remote with git remote add <remote_name> <remote_repo_url>
and set this as the repo to push to with git push -u <remote_name> <local_branch_name>
.
More info:
https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init
https://www.atlassian.com/git/tutorials/syncing
You can rebase one branch by itself, or rebase a branch onto another branch.
More info: https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase
Check out the Atlassian tutorial on version control: https://www.atlassian.com/git/tutorials/what-is-version-control
More info: https://learntocodewith.me/getting-started/topics/command-line/
These are the commands used in many Linux and Mac terminals (and similar to Windows PowerShell). More info: https://dev.to/awwsmm/101-bash-commands-and-tips-for-beginners-to-experts-30je https://www.unr.edu/research-computing/the-grid/using-the-grid/bash-commands
Markdown is used in GitHub's README and other .md
files.
More info: https://guides.github.com/features/mastering-markdown/
https://codetribute.mozilla.org/
https://github.com/pinax Search issues by filter “first-timers-only”
https://summerofcode.withgoogle.com/
Blog on beginner’s friendly open source projects. https://opensource.com/life/16/1/6-beginner-open-source