Skip to content

Instantly share code, notes, and snippets.

View paullok999's full-sized avatar
💭
Studying

KalokFeng paullok999

💭
Studying
View GitHub Profile
@Tamal
Tamal / git-ssh-error-fix.sh
Last active April 24, 2025 04:39
Solution for 'ssh: connect to host github.com port 22: Connection timed out' error
$ git clone [email protected]:xxxxx/xxxx.git my-awesome-proj
Cloning into 'my-awesome-proj'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
$ # This should also timeout
$ ssh -T [email protected]
ssh: connect to host github.com port 22: Connection timed out
$ # but this might work
@0xjac
0xjac / private_fork.md
Last active April 27, 2025 12:31
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git