简体   繁体   中英

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 .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM