Git global setup
git config --global user.name "langjf"
git config --global user.email "langjf@qq.com"
Create a new repository
git clone http://xxx.git
cd ai-login-dashboard
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Push an existing folder
cd existing_folder
git init
git remote add origin http://xxx.git
git add .
git commit -m "Initial commit"
git push -u origin master
Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin http://xxx.git
git push -u origin --all
git push -u origin --tags
相关文章
- 10-04a new blog from MarsEdit
- 10-04new Date,Date.parse()传值
- 10-04@Repository @Resource
- 10-04$CF908D\ New\ Year\ and\ Arbitrary\ Arrangement$ 期望$dp$
- 10-04TClientDataSet 设计期 多次New 字段问题
- 10-04[React] Create a Query Parameter Modal Route with React Router
- 10-04POJ 1740 A New Stone Game(博弈)
- 10-04clnt_create: RPC: Program not registered
- 10-04was cached in the local repository, resolution will not be reattempted until the update interval of fintech has elapsed or updates are forced
- 10-04Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.0.1.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempt