I've seen a few similar questions asked, but they didn't help me figure this out, and I couldn't find any tutorials (I wasn't really sure what I am looking for, to be honest). Also, I haven't used git apart from pulling/pushing onto GitHub, which is why (at least I believe so) I am so confused! GitHub made me spoiled about setting a repo up!
sudo apt-get install git
Which installed (I think) everything I needed to proceed.git_test
git init
git add .
git commit
vim .git/description
to change the description to starships
.I have git pre-installed
git clone destielstarship@
[remote_server]
/starships
1
Which produced this error: fatal: Unable to look up destielstarship@
[remote_server]
(port 9418) (A non-recoverable error occurred during a database look-up. )
Unless you're running git-daemon on the remote server, you probably want to use ssh rather than git for your URI scheme.
To use SSH as your transport, you can clone your repository using the a different URI scheme. For example, assuming your username on the remote host is "destielstarship," you could use the following command:
git clone ssh://[email protected]/path/to/git_test
You can leave off the .git extension for the repository in most cases, and only need to specify a username for the remote host if it differs from your current login.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With