![]() (This is equivalent to: mkdir project002 & cd project002 & git init) ![]() To make a new project, run git init with an additional argument (the name of the directory to be created): git init project002 git (hidden) folder in the current directory. Simply run git init in the directory which contains the files you wish to track. With git, your working copy is the repository. This is different from "centralised" version-control systems (like subversion), where a "repository" is hosted on a remote server, which you checkout into a "working copy" directory. Id_rsa id_rsa.pub ssh -i id_rsa.pub -vT guinslym! You've successfully authenticated, but GitHub does not provide shell access.īytes per second: sent 22659.2, received 22863.How do you create a new project/repository?Ī git repository is simply a directory containing a special. I did follow this stackoverflow answer (the first answer) ls Transferred: sent 2664, received 2688 bytes, in 0.1 secondsīytes per second: sent 21363.1, received 21555.6ĭebug1: Exit status I did setup an private key to use but I'm still having error when I want to push. Hi guinslym! You've successfully authenticated, but GitHub does not provide shell access.ĭebug1: channel 0: free: client-session, nchannels 1 ![]() Please make sure you have the correct access rightsĪnd the repository ssh -vT Debian-5ubuntu1.1, OpenSSL 1.0.1 ĭebug1: Reading configuration data /etc/ssh/ssh_configĭebug1: /etc/ssh/ssh_config line 19: Applying options for *ĭebug1: Connecting to port 22.ĭebug1: identity file /home/guinslym/.ssh/id_rsa type 1ĭebug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048ĭebug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048ĭebug1: identity file /home/guinslym/.ssh/id_rsa-cert type -1ĭebug1: identity file /home/guinslym/.ssh/id_dsa type -1ĭebug1: identity file /home/guinslym/.ssh/id_dsa-cert type -1ĭebug1: identity file /home/guinslym/.ssh/id_ecdsa type -1ĭebug1: identity file /home/guinslym/.ssh/id_ecdsa-cert type -1ĭebug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1+github5ĭebug1: match: OpenSSH_5.9p1 Debian-5ubuntu1+github5 pat OpenSSH*ĭebug1: Enabling compatibility mode for protocol 2.0ĭebug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1ĭebug1: kex: server->client aes128-ctr hmac-md5 noneĭebug1: kex: client->server aes128-ctr hmac-md5 noneĭebug1: expecting SSH2_MSG_KEX_ECDH_REPLYĭebug1: Server host key: RSA 16:27ĭebug1: Host '' is known and matches the RSA host key.ĭebug1: Found key in /home/guinslym/.ssh/known_hosts:1ĭebug1: ssh_rsa_verify: signature correctĭebug1: Authentications that can continue: publickeyĭebug1: Next authentication method: publickeyĭebug1: Offering RSA public key: /home/guinslym/.ssh/id_rsaĭebug1: Server accepts key: pkalg ssh-rsa blen 279ĭebug1: Authentication succeeded (publickey).Īuthenticated to (:22).ĭebug1: Requesting Entering interactive session.ĭebug1: Remote: Port forwarding disabled.ĭebug1: Remote: Agent forwarding disabled.ĭebug1: client_input_channel_req: channel 0 rtype exit-status reply 0ĭebug1: client_input_channel_req: channel 0 rtype reply 0 Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.įatal: Could not read from remote repository. git remote add origin įatal: remote origin already git push -u origin master Each time I'm doing and git push -u to origin master I'm having this error. But I'm having an issue with pushing the repository. ![]() Hi I'm following a beginner tutorial for an rails app.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |