Showing posts with label push. Show all posts
Showing posts with label push. Show all posts

November 26, 2021

BitBucket to GitHub Repo Migration including history

Hi all,

In this blog, we are going to achieve how we can move/copy the bitbucket repo to GitHub.

Checkout BitBucket Repo

git clone https://USER@bitbucket.org/USER/PROJECT.git

Add GitHub repo as upstream

cd project-folder git remote add upstream https://github.com:USER/PROJECT.git

Note: To get the already assigned upstreams, use the below command
git remote -v 

Push the branch(es)

git push upstream master git push --tags upstream

On push unsuccessful, try the below to have same history

git checkout upstreambranch git branch main upstreambranch -f git checkout main git push origin main -f

Add redirect URL

git remote set-url origin git@github.com:USER/PROJECT.git

Clean up the BitBucket (old) repo [Optional]

Verify the content carefully on the GitHub repo

  1. Go to BitBucket account
  2. Navigate to the respective repository
  3. Click Settings -> Delete repository

Hope this helps you to organize the repositories as per your choice to serve the best way for dev and ops.

Please send your feedback and comments to psrdotcom@gmail.com

April 21, 2014

Cell Broadcast and Push Messages Blocking

Hi friends,

I have re-installed my OS and done the "Reset Factory Settings"

From that day onwards, I am continuously getting "CB Message" --> "Cell Broadcast" messages

To get rid of this spam kind of messages, please follow the below steps

1) Go to message settings (Open Inbox->Settings)
2) Uncheck the "CB activation" under "Cell Broadcast (CB) settings" section

You can block the push messages from network also, by doing the following
1) Go to message settings (Open Inbox->Settings)
2) Uncheck the "Push messages" under "Push message settings" section

Hope you found the above content useful.

Please send your feedback and comments to psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com