首页 / GIT / Git 初始状操作指引
Git 初始状操作指引
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Git 初始状操作指引,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1218字,纯文字阅读大概需要2分钟。
内容图文
![Git 初始状操作指引](/upload/InfoBanner/zyjiaocheng/1223/00600feca1f44d22b5ca838d7af342d5.jpg)
You have an empty repository
To get started you will need to run these commands in your terminal.
New to Git? Learn the basic Git commands
Configure Git for the first time
git config --global user.name "Jenny Zhang"
git config --global user.email "Jenny.Zhang@companyname.com"
Working with your repository
I just want to clone this repository
If you want to simply clone this empty repository then run this command in your terminal.
git clone https://jzhang6@msstash.companyname.com/scm/auto/automation_test_do_jmeter.git
My code is ready to be pushed
If you already have code ready to be pushed to this repository then run this in your terminal.
cd existing-project
git init
git add --all
git commit -m "Initial Commit"
git remote add origin https://jzhang6@msstash.companyname.com/scm/auto/automation_test_do_jmeter.git
git push origin master
My code is already tracked by Git
If your code is already tracked by Git then set this repository as your "origin" to push to.
cd existing-project
git remote set-url origin https://jzhang6@msstash.companyname.com/scm/auto/automation_test_do_jmeter.git
git push origin master
原文:http://www.cnblogs.com/MasterMonkInTemple/p/3747292.html
内容总结
以上是互联网集市为您收集整理的Git 初始状操作指引全部内容,希望文章能够帮你解决Git 初始状操作指引所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。