Commit 0e29ed90 by chenxx

[+] README.md

0 parents
Showing 1 changed file with 33 additions and 0 deletions
# Git global setup
```
git config --global user.name "陈新先"
git config --global user.email "chenxx@didihu.com.cn"
```
# Create a new repository
```
git clone git@192.168.3.233:argocd/demogin.git
cd demogin
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
```
# Existing folder
```
cd existing_folder
git init
git remote add origin git@192.168.3.233:argocd/demogin.git
git add .
git commit
git push -u origin master
```
# Existing Git repository
```
cd existing_repo
git remote add origin git@192.168.3.233:argocd/demogin.git
git push -u origin --all
git push -u origin --tags
```
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!