Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.4 KB

README.md

File metadata and controls

59 lines (41 loc) · 2.4 KB

Appendix

Extra tips and resources relating to concepts covered in the workshop.

Got more tips that you don't see here? Submit a pull request!

Github tips

GitHub commit access with SSH keys

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

Initializing a git repo: 2 ways

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

Git rebase in depth

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

Other

Version control

Check out the Atlassian tutorial on version control: https://www.atlassian.com/git/tutorials/what-is-version-control

What is the terminal, and why use it?

More info: https://learntocodewith.me/getting-started/topics/command-line/

Basic bash commands

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

Markdown is used in GitHub's README and other .md files. More info: https://guides.github.com/features/mastering-markdown/

Open source projects to get started

Moxilla

https://codetribute.mozilla.org/

Pinax

https://github.com/pinax Search issues by filter “first-timers-only”

Google Summer of Code

https://summerofcode.withgoogle.com/

Blogs

Blog on beginner’s friendly open source projects. https://opensource.com/life/16/1/6-beginner-open-source