You are on page 1of 1

Bitbucket configuration steps

To cancel upload some file go source setting and add path of that folder
Example-gitignore,config.php

generate ssh key


command = ssh-keygen

step-1
select folder for project
commmands
using GitBassh on Selected Folder

step-2
git init
step-3 copy ssh link in your git dashboard and type command:
git remote add origin sshlink.git
step-4 push command
git status Use-to check status of file
git add . Use- for all file
git add filename selected file
git commit -m "Message" Use -commit change
git push origin master Use-push on master

git stash remove local changes

step 5-create branh && upload particular branch


git branch <branch_name>
or
git checkout -b <branch_name>

git status
git add .
git commit -m "Message"
git push orgin <branch_name>
git pull origin <branch_name> --allow-unrelated-histories

Final Steps-

For merging any branch to main branch


git branch <branch_name>
git checkout <development>
git pull origin <branch_name> --allow-unrelated-histories
git checkout <branch_name_to_pull_and _push_main>
git merge <branch_name>
git push origin<branch_name>
git push origin <branch_name>

You might also like