Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Adding a local repository to Bitbucket using Git

//cd into your dir that have your code
//initiate it as a git repo
git init
git add --all
git commit -m "Initial Commit"
//copy the url for your EMPTY repo in bitbucket
//set the remote url for your repo and push your initial commit
git remote add origin https://<Bitbucket_Username>:<App_Password>@bitbucket.org/<Repo_Name>.git
git push -u origin master
Comment

add local project to bitbucket

git remote add origin https://your-username@bitbucket.org/ommunedevelopers/repository-name.git
Comment

how to push code to bitbucket

git init
git add --all
git commit -m "Initial Commit"
Comment

PREVIOUS NEXT
Code Example
::  
Shell ::  
Shell ::  
Shell :: You have to install development tools first. 
Shell ::  
:: to see all after commit in local repository in git 
:: save output of command to variable bash 
::  
Shell ::  
Shell :: edit grub file 
::  
:: nuget equivalent of npm install 
::  
:: dns_probe_finished_nxdomain linux ubuntu 
Shell ::  
Shell ::  
::  
::  
Shell :: ubuntu xampp control panel starten 
::  
Shell :: get vscode extensions with powershell script 
::  
::  
:: export requirements from python venv 
:: powershell write to file 
:: pod install not working bad interpreter: No such file or directory 
::  
Shell :: ansible copy 
Shell :: bash store file in array 
:: bash script language check if item in array 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =