Horje
git change master branch Code Example
git change master branch
## 1) Rename master branch to oldmaster.
git branch -m master oldmaster
#Now there is no master branch on my local machine.

## 2) Rename my masterTemp branch to master
git branch -m masterTemp master
#The branch which was named masterTemp on my local machine is now master

## 3) Delete the branch from remote
git branch -rD master

## 4) Push the new master branch to remote
git push --force origin master
git move change from master to new branch
git stash						//you can stash the changes in the master branch .
git checkout -b newbranchname	//then checkout the branch
git stash pop					//and pop the changes here




Shell

Related
ssh save password Code Example ssh save password Code Example
how to close an issue with a commit Code Example how to close an issue with a commit Code Example
git see local changes Code Example git see local changes Code Example
apt lock Code Example apt lock Code Example
how to give permission to a user in linux on a folder Code Example how to give permission to a user in linux on a folder Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
17