Skip to content
andmeyeePublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

git_test

Create new dev branch and use master as github status branch

Create dev branch from master branch

git checkout -b dev

Push branch to remote origin

git push origin dev

Make dev your default branch (in Bitbucket)

Delete master branch (in Bitbucket and local)

git branch -d master

Create new master branch without history and commit it

git checkout -b master <SHA from initial commit>
git merge --squash <branch>
git commit -m "your merge message"

Push new master

git push origin master

Set master to your default branch (in Bitbucket)

Add Github as remote target to master branch

git remote add -t master github_origin url

Push to Github

git push github_origin master

merging with single commit

git checkout master
git merge --squash <feature branch>
git commit -m "your message"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors