Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pull Code to bitbucket

sanjiv kumar June 28, 2018

Need some help to do tasks

1 answer

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2018

Hi @sanjiv kumar,

Did you already clone the repository and are trying to get an update?

If that's the case you should be able to do the following:

- browse to a local clone of the repository

- run the `git pull` command to retrieve the most recent changes in the current branch

 

Is there an error/warning when doing so?

 

Cheers,

Caterina - Atlassian

sanjiv kumar July 2, 2018

Hi

Thanks for back to me .

please tell me answer for followings :-

1. How can i  push only my  changes to the files thats are on a REPO

   client changes should not be overwrite only mine need to be uploaded.

 

2 How can i push code toa specific branch

 

Thanks

Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2018

Hi @sanjiv kumar,

Have you already seen our Git guide?

I would start going through the various topics on that page and familiarize with git. This should cover the details of your questions.

 

For example, for #1 a good practise is to implement a pull request workflow and allow allow merges to be performed by specific users and based on well defined conditions (e.g. number of approvers and successful builds).

 

For pushing code, git pushes the code to the upstream branch corresponding to the local one.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events