Bartłomiej Semańczyk
Bartłomiej Semańczyk

Reputation: 61774

How to connect to my GitHub repositories from Terminal on mac?

how to connect to my Github account using Terminal?

To login to my server i use:

ssh -l [login] [host]

for example: ssh -l kunass2 blue-world.pl.

But now in one of my repositories on Github i would like to merge a few commits into one using rebase/squash. But i can do that only by terminal (i cannot do this directly on the web). The first thing is: how to connect with my repository on Github? and change it from terminal.

Important thing is: this is my forked repository. To be precised: cdnjs.

Upvotes: 0

Views: 8375

Answers (1)

Gilles Quénot
Gilles Quénot

Reputation: 185025

github have no support. Instead, you have to install and use it in a terminal by example :

cd /path/where/you/want/your/clone
git clone git://user@host/path/to/git/repo.git

you can find the clone url in the main page of your github project.

Upvotes: 1

Related Questions