Use git to upload your code to gitee and other open source or private, git upload source code

  

We strongly recommend that all have a git repository READMELICENSE.gitignorefile

Getting started with Git? View  help  ,   how to connect to this site under Visual Studio  /  TortoiseGit  /  Eclipse  /  Xcodehow to import the warehouse

Simple command line tutorial:

Git global settings:

git config --global user.name "Xiaohe" 
git config --global user.email "[email protected]" 
The first configuration of the global mailbox is the account nickname whatever

Create a git repository:

mkdir Xshop 
cd Xshop 
above is to create a folder and then enter the folder git init
initialize touch README.md git add README.md if

there is nothing you can add, there is no need to note
git commit -m "first commit" git remote add origin git @ gitee .com: xiaohe4966 / Xshop.git git push -u origin master, just fill in the address

Already have a warehouse?

cd existing_git_repo
git remote add origin [email protected]:xiaohe4966/Xshop.git
git push -u origin master

Guess you like

Origin www.cnblogs.com/xiaohe520/p/12684690.html
Recommended