Skip to content

Instantly share code, notes, and snippets.

View jarp0l's full-sized avatar
🙆‍♂️
:D

Prajwol Pradhan jarp0l

🙆‍♂️
:D
View GitHub Profile

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@jarp0l
jarp0l / siem_training.md
Created January 22, 2023 04:39 — forked from isaqueprofeta/siem_training.md
SIEM Training
@jarp0l
jarp0l / flutter-ci.yml
Last active August 11, 2021 16:12 — forked from aagarwal1012/flutter-ci.yml
CI for your Flutter apps on GitHub Actions.
name: Flutter CI
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- main
# on: push # Default will running for every branch.