Print
Category: IT
Hits: 656

1. Upload source code to bitbucket.org

2. Create project in Teamcity using bitbucket as VCS root

3. Create branch in bitbucket

4. Switch to and check out branch using git command

git fetch && git checkout FEATURE_1

5. Add new file

git add NewFile

6. Check current changes

git status

git status -s

7. git commit

8. git push

 

Create pull request by merging current code into feature branch from main branch

Clone project from repository

git clone porj1

 

Check out branch

git checkout feature/branch

 

Merge from main branch

git merge main

 

Push updates to feature branch

git push