About github ubuntu

This will be updated from time to time

First, confirm the registration information.
sudo apt-get isntall git

git config --global user.name "username"
git config --global user.email "mail address"

Register the key

ssh-keygen -t rsa -C "mail address"


After that, enter yes several times.

xxxxx.pub
Then cat xxxxx in the above file.pub 。
Enter. Register the output contents below

https://github.com/settings/keys

After that, move to the target directory with "cd"
Repository(project)After registering, register with the following command

git init

git add .

git commit -m 'Initial Commit'

git remote add origin [email protected]:user/project

git push -u origin master


fatal: remote origin already exists.
→ When the output is as above, delete it with the following command
git remote rm origin

git clone https://github.com/Old-rever-brave/Laravelmix-tutorial
The above is an example, but entering the command as above will bring down the repository locally.

Recommended Posts

About github ubuntu
Ubuntu 18.04.05 About LTS setup
About =
Laravel8 ubuntu20
ubuntu ssh
About method.invoke
About Kotlin
About attr_accessor
About Hinemos
About inheritance
Ubuntu squid
About Docker
About Rails 6
About form_for
About Spring ③
About enum
About polymorphism
About Optional
About hashes
About JitPack
About Dockerfile
About this ()
About devise
About encapsulation
About Docker
About JAVA_HOME
About active_hash
About static
About exceptions
About scope
[Maven] About Maven