Skip to content

juwugit/XtoZh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Create a new repository on the command line

touch README.md

git init

git add README.md

git commit -m "first commit"

git remote add origin https://github.com/juwugit/XtoZh.git

git push -u origin master

#Push an existing repository from the command line

git remote add origin https://github.com/juwugit/XtoZh.git

git push -u origin master

--

If you cannot commit your modification via ssh key, see following lines.

Github seems only supports ssh way to read&write the repo, although https way also displayed 'Read&Write'.

So you need to change your repo config on your PC to ssh way:

  1. edit .git/config file under your repo directory

  2. find url=entry under section [remote "origin"]

  3. change it from url=https://juwugit@github.com/juwugit/XtoZh.git to url=ssh://git@github.com/juwugit/XtoZh.git that is, change all the texts before @ symbol to ssh://git

  4. Save config file and quit. now you could use git push origin master to sync your repo on GitHub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published