Skip to content

ShyLionTjmn/mygittips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

== testing ssh with github ==
ssh -T [email protected]
It will use default ssh id file, wich should match public key, uploaded to github.com
use ssh-agent and ssh-add for frequent pushes

== Preparing to publish code to github ==
Create new repository on github site

cd myproject
git init
git config --global user.name "Sergey Klyusov"
git config --global user.email "[email protected]"

git remote add origin [email protected]:ShyLionTjmn/newrepname.git

== add new files to rep ==
git add mysource.go
git add README.txt

== commit changes files ==
git commit -a -m "some minor changes made"

== push changes to github ==
git push -u origin master

== changing remote origin ==
git remote set-url origin [email protected]:ShyLionTjmn/newrepname.git

About

My git tips for myself

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published