You are on page 1of 4

91-9582167401 EDUFECT BitBucket

www.edufect.com TRAINING

Step 1.1 Uploading files to Bitbucket in a new repository


1. Create a BitBucket Account from this link- https://bitbucket.org/
2. Download Git bash from the following link. https://git-
scm.com/download/win
3. Open your Gitbash and paste this command git config --global
user.name "Sam Smith". Replace Sam Smith with your bitBucket
username.
4. Then paste this command git config --global user.email
abc@example.com . Replace abc@gmail.com with your mail id with which
you created bitBucket account.
5. After git bash is downloaded go to Bitbucket and open any repository. If no
repository is present then create a new one and then open it.
6. Then click on clone option. And copy the command

Note: Do not change clone type to SSH. It will be HTTPS only.


7. Paste it in gitbash dashboard and enter.
8. It will clone a repository in your default file location. A folder should have
been created in the given file location. For example in this clone a folder
named dummy is created.
Note: dummy.git represents the name of folder, if it is Employee.git after last
/ then the folder created has name Employee.
9. Go to that particular repository. Command-
cd dummy.
Note: You have to give exact path of your folder in your system.
10. Now copy some files in this folder created on your system.
11. You can check status of our files.
git status.
12. Add all files.
git add *
13. Commit all files using message.
git commit –m “Commit Message”

-1-
91-9582167401 EDUFECT BitBucket
www.edufect.com TRAINING

14. Now push all the files.


git push origin master
15. You can check your bitbucket commits on your Bitbucket dashboard under
Commits section.

16. For sharing go to the Repository Settings and then to User and Group Access.
Write user email and their role which you want to provide them. Note: For
you add bb15.milestoneos@gmail.com with role as admin

Step 1.2 Uploading changes to a repository


Below are steps if you need to commit new changes to your repository on bitbucket
1. Check on your gitbash that if there are changes which are not still pushed to
Bitbucket repository
git status
Note: Read the statements appearing on its execution, unstaged files means
these are not updated in your repository on bitbucket
2. git add *
3. git commit –m “Type in the commit message”
Note : Do not use same message for each commit as it will not help to track
all commits. Provide proper message like Initial Commit, changes made in
abc component etc.
4. git push origin master

Step 2.1 Raising an Issue for the first time in a repository


1. Go to your repository on bitbucket dashboard
2. Click on Repository settings and then click on Issue Tracker
3. Select Private Issue tracker and fil the required fields and save it

-2-
91-9582167401 EDUFECT BitBucket
www.edufect.com TRAINING

4. Bow go to your repository page and you can see in left Issues have appeared.

5. You can create an issue now from clicking on Create Issue


6. Click on the button it will ask you to fill some fields , fill according to your
issue. Assignee is for your repository members to whom you want to report
the issue. For you it will be bb15.milestoneos

-3-
91-9582167401 EDUFECT BitBucket
www.edufect.com TRAINING

Step 2.2 Tracking an issue


1. In your issues section now an issue is coming which can be tracked now

2. You can edit your issue with the help of edit


3. Resolve is for team members to whom it was reported to help in resolving.
Note: Here you have to write the lines, which you changed in which file to
resolve the issue. You can attach files here too(Under More attach files is
present)
4. Once issue is removed from app change workflow of the issue to Resolved.

-4-

You might also like