Bitbucket 介绍与使用
生活随笔
收集整理的這篇文章主要介紹了
Bitbucket 介绍与使用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、Bitbucket的介紹
1、The Git solution for professional teams
二、Bitbucket的使用
1、You have an empty repository
(1)To get started you will need to run these commands in your terminal.
2、Configure Git for the first time
// git config --global user.name "wang" git config --global user.email "wang.xx@worthsen.com" //3、Working with your repository
(1)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 http://wang.xx@192.168.1.180:xxx/adas/camera_test.git // (2)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 http://wang.xx@192.168.1.180:xxx/adas/camera_test.git git push -u origin master // (3)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 http://wang.xx@192.168.1.180:xxx/adas/camera_test.git git push -u origin master //
致謝
1、Bitbucket官網
總結
以上是生活随笔為你收集整理的Bitbucket 介绍与使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 牛客网在线编程全部题目
- 下一篇: excel同一个单元格内多行数据拆分成多